1, the contents of the command:
1) Create a directory: mkdir / bluesky
Run the command is completed, there is no indication of how to run properly.
2) into a directory: cd space / bluesky
3) locate the current directory: pwd
2, good operating habits and pay attention to the point:
1) modify, delete after a certain operation to check whether the correct results
2) the use of space should pay attention, otherwise the command will not be executed.
ls space / bluesky
ls space -l space / bluesky
3) Absolute path: the path from the root, beginning with an absolute path is recommended to avoid wrong path. accurate locating
Relative path: not the path from the root, as soon as circumstances appeared lost, with the current path pwd can understand the situation.
3, some of the shortcuts
TAB key: auto-complete command. Enter the starting letters, press TAB, the back will auto-complete, if there are a variety of circumstances, he will be listed
4, the directory structure of Windows and Linux comparison:
Windows: c divided plate, d disk, e disc.
linux:. Everything starts from the root / hanging upside down like a tree.
Directory is not the same wording:
Windows: c: \ windos \ (backslash)
linux: / root / data / first / root, others / is separator