-
Move to the start of the command line
Ctrl + A
-
Move to the end of the command line
Ctrl + E
-
Move one character forward
Ctrl + F
-
Move one character backward
Ctrl + B
-
Switch cursor position between start of the command line and the current position
Ctrl + XX
-
Moves the cursor one word forward
Alt + F / Esc + F
-
Moves the cursor one word forward
Alt + B / Esc + B
-
Similar to clear command, clears the terminal screen
Ctrl + L
-
Stops command output to the screen
Ctrl + S
-
Suspends current command execution and moves it to the background
Ctrl + Z
-
Resumes suspended command
Ctrl + Q
-
Sends SIGI signal and kills currently executing command
Ctrl + C
-
Closes the current terminal
Ctrl + D
-
Bash History
```
Ctrl + R
```
-
Non-incremental reverse search of bash history
Ctrl + J
-
Ends history search at current command
Ctrl + _
-
Undo previous command
Ctrl + P / Up arrow
-
Moves to previous command
Ctrl + N / Down arrow
-
Runs last command
!!
-
Runs previous command except its first word
!*
- Displays information about active processes running on the system.
ps
- Displays a hierarchical tree structure of processes.
pstree
- Sends a signal to terminate or interrupt a process.
kill
- Terminates all processes with a specific name.
killall
- Sends a signal to terminate or interrupt processes based on their name.
pkill
- Lists process IDs based on matching criteria.
pgrep
- Launches a command with a specified priority level.
nice
- Changes the priority level of a running process.
renice
- Lists active jobs in the current shell session.
jobs
- Brings a job to the foreground.
fg
- Sends a job to the background.
bg
- Runs a command that ignores hangup (HUP) signals.
nohup
- Manages multiple terminal sessions within a single shell session.
screen
- Displays detailed information about all active processes.
ps aux
- Controls the systemd system and service manager.
systemctl
- Provides real-time information about system resource usage and active processes.
top
- Interactive process viewer that displays system resource usage and process information.
htop
- Another interactive process viewer with additional features.
btop++
- Lists open files and the processes that have them open.
lsof
- Executes a command in the background, allowing the user to continue using the terminal.
&