Complete Bash and Shell commands cheat sheet for Linux system administration. Covers file operations, text processing, system monitoring, networking, and pipe operations.
Bash / Shell is a popular development tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.
This page covers all 32 Bash / Shell shortcuts across 4 categories: Files & Directories, Text Processing, System & Processes, Pipes & Redirects. Each shortcut includes a description to help you understand when and how to use it effectively.
Start with the essentials: Learn ls -la (Detailed list) and cd [path] (Change directory) first — these are the most commonly used.
Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the Files & Directories category first.
Developer tip: Multi-cursor editing and code navigation shortcuts save the most time. Learn them before anything else.
Search all Bash / Shell shortcuts interactively
Interactive Shortcut Finder| Shortcut | Action | Description |
|---|---|---|
| ls -la | Detailed list | Show detailed file list including hidden files. |
| Shortcut | Action | Description |
|---|---|---|
| ps aux | List processes | Show all running processes. |
| top | System monitor | Show real-time system resource usage. |
Use 'find . -name "pattern"' to search in the current directory. Add '-iname' for case-insensitive search.
Use 'grep -r "pattern" /path' for recursive search. Add '-i' for case-insensitive, '-n' for line numbers.
Use 'df -h' for disk usage by filesystem, or 'du -sh /path' for specific directory sizes.
Use 'top' or 'htop' for real-time CPU and memory monitoring. Use 'free -h' for memory summary.
Use '>' to overwrite or '>>' to append. Example: 'ls -la > output.txt' saves the listing to a file.
Browse shortcuts for 248 platforms
Explore All