Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Viewing file flags.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Viewing file flags.
Authored by: misaka on Jul 10, '01 08:39:31PM
I thought I might point out that you can view file's flags with the command ls -lo. Here's a sample of the output:

-rw-r--r-- 1 misaka staff uchg 233663 Jun 22 14:26 fink-0.2.1-full.tar.gz
-rw-r--r-- 1 misaka staff - 719064 Jul 1 15:37 Snoopy.sit
-rw-r--r-- 1 misaka staff - 3952640 Jun 25 22:32 xvnc_3.3.3r2_macosx.tar

The 5th column, between the user/group info and the file size, is the flags, you can see that the fink tarball has the 'uchg' flag set.

-- Mishka

[ Reply to This | # ]