Format of the Linux-linux command

Source: Internet
Author: User

1. command [options] [parameters]

LS list displays the contents of the directory

① command name: ls

Command English original: list

Command path:/bin/ls

Execute Permissions: All Users

Function Description: Display directory file

②ls Name Direct Enter, display the contents of the directory

Ls-l long format display (thumbnail option with a minus sign, complete option with two minus)

-RW ——-1 root root 1190 08-10 23:37 anaconda-ks.cfg

First entry: Permission bit

Second entry: 1 reference count

Third item: Root owner

Fourth item: Root Group

Item Fifth: Size

Sixth last modification time

Item Seventh file name

Ls-a Show all files (including hidden files)

Ls-al

LS-HL file size shown as common size unit B KB MB

ls-d display the directory itself, not the child files inside

Ls-l file name

Prompt: (special characters)

[Email protected] src]#

[Current login user @ hostname current directory]#

# Super User

$ normal User

Current directory: ~ User home Directory

Administrator/root

Normal User/home/user name

Format of the Linux-linux 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.