Command Line Course
Keyboard Shortcuts
- Ctrl+C: Interrupt (kill) the current foreground process running in the terminal. This sends the SIGINT signal to the process, which is technically just a request—most processes will honour it, but some may ignore it.
- Ctrl+Z: Suspend the current foreground process running in bash. This sends the SIGTSTP signal to the process. To return the process to the foreground later, use the fg process_name command.
- Ctrl+D: Close the bash shell. This sends an EOF (End-of-file) marker to bash, and bash exits when it receives this marker. This is similar to running the exit command.
- Ctrl+L: Clear the screen. This is similar to running the “clear” command.
- Tab: Auto-complete files and folder names.
- Ctrl+Shift+C: Copy text from the terminal window.
- Ctrl+Shift+V: Paste text to the terminal window.
For more shortcuts, refer to https://www.howtogeek.com/howto/ubuntu/keyboard-shortcuts-for-bash-command-shell-for-ubuntu-debian-suse-redhat-linux-etc/