All writing

temp testing

hello worldddd

very

good

anon

game

krishna is the SPOG.

linux commands.

Exploring Linux Command Line Tools

As someone who spends a lot of time in the terminal, I’ve discovered some incredibly powerful command line tools that have transformed my workflow. Today, I want to share some of my favorites that go beyond the basic ls, cd, and grep commands.

File Management Gems

fd - A Better Find

While find is powerful, fd is much more intuitive and faster:

# Find all Python files
fd -e py

# Find files modified in the last day
fd -c never -e log --changed-within 1d

exa - Modern ls Replacement

exa provides a colorful, tree-like view of directories:

# List with icons and git status
exa -la --icons --git

# Tree view with depth limit
exa --tree --level=2

Text Processing Power

ripgrep (rg) - Blazing Fast Search

This tool has completely replaced grep in my workflow:

# Search for a pattern in all files
rg "function" --type py

# Search with context lines
rg -C 3 "error"

bat - Cat with Syntax Highlighting

Perfect for quickly viewing code files:

# View a file with syntax highlighting
bat main.py

# Compare two files side by side
bat file1.py file2.py

System Monitoring

htop - Interactive Process Viewer

Much better than the traditional top command with a colorful, interactive interface.

ncdu - Disk Usage Analyzer

Great for finding what’s taking up space on your disk:

ncdu /home/user

Why These Tools Matter

These modern alternatives offer:

  • Better performance - Most are written in Rust or Go
  • Improved UX - Colorful output and sensible defaults
  • Enhanced functionality - More features out of the box