Unix - Terminal Based OS

Unix - Terminal Based OS Keyboard Shortcuts

Unix, a foundational OS for many modern systems, is heavily focused on terminal-based operations for advanced users and developers. Mastering Unix shortcuts enables precise control over file management, system processes, and command execution directly from the terminal. These shortcuts are essential for professionals working in programming, server management, and high-performance computing.

Basic Terminal Shortcuts

Clear the current command line

Ctrl+U

Delete the previous word in the terminal

Ctrl+W

Exit the current terminal session

Ctrl+D

Interrupt/stop the current process

Ctrl+C

Suspend the current process

Ctrl+Z

Paste the last cut text

Ctrl+Y

Cut everything from the cursor to the end of the line

Ctrl+K

Exchange the cursor's current position with the mark

Ctrl+X

Delete the previous character

Ctrl+H

Undo the last operation

Ctrl+/

Move the cursor to the beginning of the line

Ctrl+A

Move the cursor to the end of the line

Ctrl+E

Move the cursor forward by one word

Alt+F

Move the cursor backward by one word

Alt+B

Move the cursor one character backward

Ctrl+B

Move the cursor one character forward

Ctrl+F

Delete the word after the cursor

Alt+D

Delete the word before the cursor

Alt+Backspace

Search and History

Search through command history

Ctrl+R

Repeat the previous command

Ctrl+P

Repeat the next command in history

Ctrl+N

Clear the terminal screen

Ctrl+L

Revert all changes made to a line

Alt+R

Abort the current search

Ctrl+G

Miscellaneous Shortcuts

Transpose two characters

Ctrl+T

Transpose two words

Alt+T

Scroll down one screen

Ctrl+V

Paste the previously cut content

Ctrl+Y

Resume output to the terminal after stopping it

Ctrl+Q

Stop all output to the terminal

Ctrl+S