Linux commands [1]:ls

Source: Internet
Author: User
Tags syslog

ls [option] [directory name ...]

Options

-A,--all lists all files in the directory, including to hide.

-L,--format=long,--format=verbose show more information

-D View Directory properties

-H Displays user-friendly size information (only the file size is decorated)

-I display Inode

 [[email protected] ~]# ls-20 -RW-------. 1  root root 1097  January 23  15 : 22  anaconda-ks.cfg -rw-r--r--. 1  root root 9214  January 23  15 : 22   Install.log -rw-r--r--. 1  root root 3091  January 23  15 : 21  Install.log.syslog 

Permissions:-(file Type-file d directory l soft link file) rw-(u user)-r-(g user Group) r--(o others)

R Read W write x executable

1 (number of citations)

Root (owner)

Root (owning group)

1097 (Size unit: bytes)

January 23 15:22 (last modified)

Anaconda-ks.cfg (file name)

LS-LH can see the size of the display can understand

[[email protected] ~]# ls-lh total dosage 20K11. 1K January  : anaconda-ks.cfg19. 0K January  :  Install.log13. 1K January  : Install.log.syslog

Linux commands [1]:ls

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.