①ls default display of files in the current directory
Displays the current directory in which to use the command PWD (printing working directory)
So LS and ls/root show the same effect.
②ls–l displaying full information about a file
File type of Linux: Introduction
-: Normal file
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: A total of 9 bits per 3 bits a group of rwx (read, Write, execute,-indicates no one of the three permissions)
-H Unit conversion (convert the size of the file to a unit that is easy for adults to intuitively understand)
Timestamp time stamp
Access: time when the file was last accessed
Modify: The time the file was recently taken from the edge
Change: The time that the file attribute was changed is the time the metadata was modified metadata
③–a Show hidden files that begin with.
. Represents the current directory
.. Represents the parent directory of the current directory
-A shows hidden files that start with. But not included. And..
-D Displays the directory's own properties Ls–l–d/root
-I display the index node number (number) of the file the computer is easily recognizable
-r: Displaying files in reverse alphabetical order of file names
-R: Recursive display of files
Common functions of Redhat,centos Linux Common command ls