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