Essential Linux Commands: 50 Practical CLI Commands You Must Know

Below are essential Linux commands used daily

50 Commonly Used Linux Commands (With Uses)

📂 Navigation & Display
  1. pwd – Show current working directory
  2. ls – List files and directories
  3. cd – Change directory
  4. tree – Display directory structure in tree format
  5. clear – Clear the terminal screen
👤 User & System Identity
  1. whoami – Show current logged-in user
  2. who – Show logged-in users
  3. id – Display user and group IDs
  4. hostname – Display system hostname
  5. uname – Show system and kernel information
⏰ Date, Time & System Status
  1. date – Display system date and time
  2. uptime – Show system running time and load
  3. cal – Display calendar
  4. watch – Run a command repeatedly
  5. time – Measure command execution time
📄 File & Directory Management
  1. touch – Create an empty file
  2. mkdir – Create directories
  3. rmdir – Remove empty directory
  4. cp – Copy files or directories
  5. mv – Move or rename files
  6. rm – Remove files or directories
📖 File Viewing & Editing
  1. cat – Display file content
  2. less – View file page by page
  3. more – View file content (older pager)
  4. head – Show first lines of a file
  5. tail – Show last lines of a file
  6. nano – Simple text editor
  7. vi / vim – Advanced text editor
🔍 Searching & Text Processing
  1. grep – Search text patterns
  2. find – Search files and directories
  3. locate – Quickly find files (index-based)
  4. awk – Pattern scanning and processing
  5. sed – Stream editor for text manipulation
📊 Disk & Memory Information
  1. df – Show disk space usage
  2. du – Show directory/file size
  3. free – Display memory usage
  4. lsblk – List block devices
  5. mount – Mount filesystem
⚙️ Process & Resource Management
  1. ps – Show running processes
  2. top – Real-time process monitoring
  3. htop – Enhanced process viewer
  4. kill – Terminate a process
  5. nice – Set process priority
🌐 Networking
  1. ip – Network configuration tool
  2. ping – Check network connectivity
  3. ss – Display socket statistics
  4. curl – Transfer data from URLs
  5. wget – Download files from the web
📦 Help & Session Control
  1. man – Display command manual
  2. history – Show command history