Linux ls command

Source: Internet
Author: User

Ls:list, listing the contents of the specified directory

NAME

Ls-list Directory Contents


Synopsis

ls [OPTION] ... [FILE] ...


The following are common:

-A: Displays all files, including hidden files, starting with hidden files.

-A: Displays except. and. All files except the

-l:--long, a long-form list that displays information about a file

-RW-------. 1 root root 1 Mar 11:56 Anaconda.ifcfg.log

-: File type

RW-------

rw-: File owner's permission, root

---: Permissions for a file group

---: Permissions for other users (not owner, group)

1: Number indicates the number of times a file has been hard-linked

Root: The owner of the file

Root: The genus Group of the file

1: Number indicates the size of the file, in bytes

Mar 30 11:56: File Last personality time

-h:--human-readable: Conversion of File size units, the result may be a non-accurate value

-D: View the directory itself instead of its internal file list

-r:reverse, Reverse display

-r:recursive, recursive display

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7E/59/wKiom1b85rPTFaQeAARIUKyJb_s971.jpg "style=" width : 730px;height:440px; "title=" 13.jpg "width=" 730 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1b85rptfaqeaariukyjb_s971.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7E/59/wKiom1b85rXhZfVYAAMgENklJo8427.jpg "style=" width : 730px;height:333px; "title=" 14.jpg "width=" 730 "height=" 333 "border=" 0 "hspace=" 0 "vspace=" 0 "alt=" Wkiom1b85rxhzfvyaamgenkljo8427.jpg "/>


This article is from the blog "Write to Yourself", so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1758891

Linux ls command

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.