Linux Common Commands--ls

Source: Internet
Author: User

LS Common short options

LS is an external command (external command: There is an executable file corresponding to the command name under a path under the file system)

Short options

-L #长格式

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/3B/wKiom1b6F7TRxn6ZAAAPcu9LE94836.png "title=" QQ picture 20160329134952.png "alt=" Wkiom1b6f7trxn6zaaapcu9le94836.png "/>

File type: the

-: Normal file (f)

D: Catalog file

B: Block device files (blocks)

C: Character device file (character)

L: Symbolic Connection files (symbolic link file)

P: Command pipe file (pipe)

S: Socket file (socket)

File permissions

Number of hard links to files

Document owner

Group of file genera

File size (size): Default unit byte

Timestamp (timestamp): The file has three timestamps (access: access; modified: modify; changed: Change), showing the last modified time by default

Filename

-H #单位转换

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/7E/3B/wKiom1b6F8LgEC-jAAAcLokVAh0779.png "title=" QQ picture 20160329134922.png "alt=" Wkiom1b6f8lgec-jaaaclokvah0779.png "/>

-A #显示隐藏文件

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/7E/37/wKioL1b6GLnzrHvXAAAnPdbYLwo074.png "title=" QQ picture 20160329135209.png "alt=" Wkiol1b6glnzrhvxaaanpdbylwo074.png "/>

With "." Start with a hidden file in the Linux file system

-A #显示隐藏文件 (does not include "." "" ... " )

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7E/37/wKioL1b6GULgGJfMAAAipHdKyXQ262.png "title=" 1.png " alt= "Wkiol1b6gulggjfmaaaiphdkyxq262.png"/>

-D #显示目录自身属性

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/3B/wKiom1b6GQCiGNZfAAAXOT_-FIg092.png "title=" 2.png " alt= "Wkiom1b6gqcignzfaaaxot_-fig092.png"/>

-I #index node,inode index node number

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7E/37/wKioL1b6GfawqRS-AAAJc0z_wDU698.png "title=" 3.png " alt= "Wkiol1b6gfawqrs-aaajc0z_wdu698.png"/>

-R #逆序显示-R #递归显示

This article is from the "rime" blog, please be sure to keep this source http://kinrey.blog.51cto.com/10492082/1757981

Linux Common Commands--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.