Linux Cheat Sheet
Explore key concepts, syntax, and usage examples for Linux — perfect for quick reference.
Bash Commands
Bash Shortcuts
Bash Variables
IO Redirection
Pipes
Anchros
- cmd1 | cmd2
💡 stdout of cmd1 to cmd2 - cmd1 |& cmd2
💡 stderr of cmd1 to cmd2
Command Lists
Directory Operations
ls Options
Search Files
File Operations
Process Management
Nano Shortcuts
Files
- Ctrl-R
💡 Read file - Ctrl-O
💡 Save file - Ctrl-X
💡 Close file
- ALT-A
💡 Start marking text - CTRL-K
💡 Cut marked text or line - CTRL-U
💡 Paste text
- ALT-/
💡 End of file - CTRL-A
💡 Beginning of line - CTRL-E
💡 End of line - CTRL-C
💡 Show line number - CTRL-_
💡 Go to line number
- CTRL-W
💡 Find - ALT-W
💡 Find next - CTRL-\
💡 Search and replace