[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Permissions and Ownership command



|>What unix command do you use to find the current ownership
|>and/or permissions a file or folder has?

Sheesh....you bought a server appliance and now want to know basic (and
I mean truly fundamental) stuff like this??? Well damn, I guess this is
"newbie-teach-time" <growl> Didn't you think to perhaps spend just a
teensy widdle bit of time inside a "Running Linux" or "The fundamentals
of Unix" books (among many many others that are a racy and informative
read)

Look, this list assumes a BASIC level of learning....we don't mind
helping to polish the basics a subscriber may have learned already, but
really this is a bit much.
<sigh> Lest someone think I'm just a grumpy old bastard (I am sometimes,
but quite lovable and cuddly otherwise) here's what to do:

FIRST
"man" [whatever] is your friend. "man" (minus the parens) plus the
command you are curious about at the command line is gonna save your
ass, and also spare wear and tear on your asbestos gloves.
Thus, "man ls" will yield what I've cut and pasted into the body of this
message below.

SECOND
The short version of what you seek is this:
[21:25:09] schoenmaker@maytag~>ls -laF
This gives you file AND directory info (directories will have a "/"
appended after the name) Watch the case here, the "F" IS uppercase as
can be seen from the man page abstract below.