Ls-f a very useful LS format

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.