1, using the Shell Tab key Auto-complete
tab can be completed automatically in the Linux command line input. In Linux
Using the TAB key in the command line can greatly improve the input efficiency
2. Using the Shell's history
The Shell records the history of the user's execution of the command, and we typically use the command to centralize and reuse it over a short period of time.
So when you need to use a command that you've just used, you don't need to take the time to enter it again, just press and hold down the keyboard
Arrow keys, you can realize the page up and down, turn out the command you just used, directly enter the execution. It's like a phone.
Call logs are the same as quick callback.
3, the meaning of some symbols in the Linux command line:
. Represents the current directory
.. Represents the previous level directory, the parent directory of the current directory
-Represents the previous directory, which directory CD I just came from
~ Represents the current user's host directory
/Represents the root directory
$ normal User's command line prompt
#root用户的命令行提示符
* Universal Match character
Host Directory : The so-called host directory, is the operating system for the current user designed to store files, work of the default directory. such as the "My Documents" directory in Windows, is the host directory that Windows has designed for us.
Each user in Linux has its own host directory, which is/home/username/for the average user, and for the root user, in/root.
4 How to enter the root user when you start installing Ubunto
(1) Su passwd root
(2) Please enter your password
(3) Prompt to confirm password
(4) What you see at this point is the beginning.
Linux simple tricks and how to get into the root user