Home >Operation and Maintenance >Linux Operation and Maintenance >What are the command line shortcut keys on Linux?
Ctrl+a: Move the cursor to the beginning of the line.
Ctrl+e: Move the cursor to the end of the line.
Ctrl+l: Clear the terminal. This shortcut operation has the same effect as typing clear on the command line.
Ctrl+d: Delete one character after the cursor;
Ctrl+u: Clear the current line. If you are working from the command line, use this shortcut to clear characters from the cursor to the beginning of the line.
Ctrl+Alt+one of the function keys will display a new screen. According to the default settings, from F1 to F6 are the Shell prompt screens.
Ctrl+K: Delete all characters from the cursor to the end of the line.
Up and down arrows: Display command history.
bash saves a list of previously typed commands. This list is called the command history table.
Tab: Command line auto-completion.
Ctrl+Alt+Delete: Shutdown and reboot, only use this method if normal shutdown does not work.
CTRL-W: Delete all characters before the cursor;
The above is the detailed content of What are the command line shortcut keys on Linux?. For more information, please follow other related articles on the PHP Chinese website!