List all flags of a file?
On OS X 10.8, this is ls -lO
now (with a capital O). The output from man ls
:
-O Include the file flags in a long (-l) output.
-o List in long format, but omit the group id.
I assume you are talking about FreeBSD - from man ls:
-o Include the file flags in a long (-l) output.
So ls -lo
should list all the file flags on FreeBSD.