1. Linux command format:
2.linux terminal (black box) of the Open method:
Right-click on the desktop -> Open Terminal
shortcuts: ctrl + atl + t
3.ls command
LS
1. Do not write parameters: display the directory of the current file is located.
2.ls -a: find the extra point to the beginning of the file, in Linux, hidden files that begin with. "."
So, you can achieve the files into a hidden file by adding a point before the file name.
3.ls /: files in the root directory.
4.ls -l Displays a long (long) file name.
Number in the second column: indicates that the file has been used a few times hanging. -unimportant
Each file the user is divided into three categories, the owner -u, belongs to the group -g, others -o
default, who created the document, who is the owner,
the third column: Owner
fourth column: belongs to the group
of five: file size
-lh: two options put together, and the order does not matter.
-H will display the file unit size:
The sixth column: the file was last modified.
Seventh column: the file name.
The most important first column: The following 4
4. File type: as the first column of a total of 10 characters
The first character:
-: file
d: directory
l: soft link
3X3 representation: u. g. o Permissions:
Permissions:
5.-d
Display information about the current directory
ls -ld displays the current directory, the files in the directory instead of the.