1. [tab] key
Among all Linux shells, [tab] is the most commonly used and the best function in the Linux bash shell; it has the functions of command completion and file completion. If you don't use the [tab] key, don't say you know linux!
For example, command completion
I want to format the disk into ext3, but I don't know what the command is, I just remember that it starts with mk, then I can type mk and press [tab] twice
file completion
I want to check all the hidden files in /home/mysql/, just lose. Then press [tab] twice. All the files at the beginning can be displayed.
[root@kissing ~]# ls -al /home/mysql/.
./ .bash_logout .bashrc
../ .bash_profile .mozilla/
2. [ctrl+c] key
Forcefully terminate the current process
If you enter wrong commands or parameters under linux, sometimes this command will run non-stop in the system, you can use [ctrl+c] to terminate
3. [ctrl+d] key
Two functions, one is to represent the end of keyboard input; the other is to replace the exit command. For example, to leave the text excuse, you can directly press the [ctrl+d] key.
When I use the ssh client to connect to linux, at this time, I press the [ctrl+d] key and this is the effect
[root@kissing ~]#
[root@kissing ~]# logout
4. [ctrl+L] key
This is very practical, clearing the screen is equivalent to the clear command.
5. [ctrl + K] key
Delete all characters from the cursor to the end of the line
6、[ctrl+U]键
Clear the current line, contrary to [ctrl+K], delete all characters from the cursor to the beginning of the line
7. [ctrl+A] key
move the cursor to the beginning of the line
8. [ctrl+E] key
move the cursor to the end of the line
9、 cd ~
Enter the current user's home directory