Shell
Shell We called shell, we know that the operating system is the bottom of a kernel kernel, the kernel is used to implement all the upper-level services, all the upper command, the upper application needs some basic functions, such as network connection, network communication, such as keyboard driver, mouse driver, for example, our system scheduling, Memory management, etc., is done by the kernel of the operating system. But kernel we have no way to direct control, this time we need the shell to complete, the shell is the user's instructions to pass to kernel, translated into kernel can understand some of the information, so we can say that through the shell to control the operating system.
Command structure
Commands are generally divided into three parts: command option parameters
Running in the background
Any command + space +&, indicating the command to run in the background
History
Use history to view historical commands
CTRL + Z
Ctrl+r Smart Search History command (very useful)
Su
User Switching: Su-username
Sudo
Execute a command with the administrator sudo + command
passwd
Modify Current user password: passwd
CTRL + Z
Suspend program: CTRL + Z
Bg
Let the process run in the background: bg+ process number
Fg
Let the process run in the foreground: fg+ process number
Linux Bash command-line basic operations