ls?-f a very useful LS format ?
Tz/y/yupeng > Ls-f #q #??????????? news/????????? doc/?????????? images/??????? Mbox?????????? Postponed mail/????????? Dead.letter??? [email protected]????????? mail/????????? myftp/ |
This command format can clearly show those that are directories that are files.
tz/y/yupeng > LS-FL Total -RW-------?? 1 Yupeng?? Arpa???? APR 13:26 #q # Drwx------?? 2 Yupeng?? Arpa??? A.? 6 01:49 mail/ drwx------?? 2 Yupeng?? Arpa??? APR 02:53 news/ -RW-------?? 1 Yupeng?? Arpa??? 379 APR 12:49 dead.letter drwx------?? 3 Yupeng?? Arpa??? APR 10:34 doc/ lrwxr-xr-x?? 1 Yupeng?? Users??? What about the Feb?? 4 07:13 [email protected],/www/nz/y/yupeng drwx------?? 2 Yupeng?? Arpa??? APR 04:55 images/ drwx------?? 2 Yupeng?? Arpa??? APR 12:53 mail/ -RW-------?? 1 Yupeng?? Arpa??? 546 APR 11:58 mbox drwx------?? 2 Yupeng?? Arpa??? APR 13:09 myftp/ -RW-------?? 1 Yupeng?? Arpa??? 278?? 4 postponed |
The above is also a very useful command format.
The following should be noted:
Tz/y/yupeng > ls #q #????????? News???????? Doc????????? Images?????? mbox???????? Postponed Mail???????? Dead.letter? html???????? Mail???????? Myftp |
comparing the above results can be summed up, ls-f and the ls in the result of the command
1. end with '/' for the directory
2. for ordinary files, no special characters at the end
3. for a soft link file, the suffix ends with ' @ ' . Like the ' HTML ' file above.
Ls-f a very useful LS format