Linux ls command

Source: Internet
Author: User

LS is used to display basic information about a directory file

-A: Displays all files and directories, including hidden files that begin with a point. -C: Multi-column display file or directory, this parameter is the default parameter. -L: In contrast to-C, all information for each file or directory is displayed in a single column. Displays the list of contents in a long format, with the output information from left to right, including file name, type of permission, number of hard connections, owner, group, file size, and last modified time of the file. -F: Append the type identifier of the file after each output item, meaning: "*" means a normal file with executable permissions, "/" for the Directory, "@" for the symbolic Link, "|" Represents a command pipeline FIFO, and "=" represents a sockets socket. When the file is a normal file, no identifiers are output; for example:

-R: Recursively handles all files and subdirectories under the specified directory;-S: Displays the size of files and directories, in chunks;-K: Displays the file size in kilobytes (Kbytes);

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.