# the-art-of-command-line | Joshua Levy | Knowledge Base | Instagit

Master the command line, in one page

GitHub Stars: 160k

Repository: https://github.com/jlevy/the-art-of-command-line

---

## Articles

### [Memory Analysis and System Performance Tuning: A Command Line Reference Guide](/jlevy/the-art-of-command-line/memory-analysis-performance-tuning)

Master memory analysis and system performance tuning with key Linux command-line tools. Discover essential commands in The Art of Command Line repository to optimize your system.

- Tags: how-to-guide
- Published: 2026-02-24

### [Command Line Calculator Tools: 4 Essential Utilities for Terminal Math](/jlevy/the-art-of-command-line/command-line-calculator)

Master terminal math with 4 essential command line calculator tools like Python REPL, bc, factor, and seq. Perform calculations effortlessly without leaving your command line.

- Tags: deep-dive
- Published: 2026-02-24

### [Efficient File Synchronization with rsync: Advanced Techniques from the Command Line Masters](/jlevy/the-art-of-command-line/efficient-file-sync-rsync)

Master efficient file synchronization with rsync command line techniques. Learn advanced tips for SSH transfers and data backups to speed up your workflow.

- Tags: how-to-guide
- Published: 2026-02-24

### [BSD vs GNU Command Differences on macOS: Essential Guide for Developers](/jlevy/the-art-of-command-line/bsd-gnu-command-differences-macos)

Understand BSD vs GNU command differences on macOS. Essential guide for developers to avoid cross-platform shell script issues with flags, options, and output.

- Tags: 
- Published: 2026-02-24

### [Debugging Java Applications from the Command Line: Essential JVM Diagnostics](/jlevy/the-art-of-command-line/debug-java-command-line)

Easily debug Java applications from the command line. Use `jstack`, `jmap`, and `jstat` to capture vital JVM diagnostics like thread dumps and heap snapshots without an IDE.

- Tags: how-to-guide
- Published: 2026-02-24

### [Using Terminal Multiplexers Like Screen and Tmux: A Practical Guide](/jlevy/the-art-of-command-line/terminal-multiplexers-screen-tmux)

Master terminal multiplexers like screen and tmux. Keep sessions alive through disconnections for seamless remote work. Detach and re-attach effortlessly.

- Tags: how-to-guide
- Published: 2026-02-24

### [Disk Usage Analysis with `du` and `ncdu`: A Complete Guide](/jlevy/the-art-of-command-line/disk-usage-analysis-du-ncdu)

Master disk usage analysis with du and ncdu. Learn to quickly view summaries and interactively explore your file system to find large files and directories.

- Tags: how-to-guide
- Published: 2026-02-24

### [Text Encoding Conversion with iconv: A Practical Command-Line Guide](/jlevy/the-art-of-command-line/text-encoding-conversion-iconv)

**Use `iconv -f [source] -t [target]` to convert text encodings directly in the shell, with `-c` to skip invalid characters and `//TRANSLIT` for approximate replacements.**

- Tags: 
- Published: 2026-02-24

### [Managing File Permissions with chmod and chown: Essential Unix Commands](/jlevy/the-art-of-command-line/file-permissions-chmod-chown)

Master Unix file permissions using chmod and chown. Learn to manage read, write, and execute access for users and groups. Essential commands for secure file management.

- Tags: 
- Published: 2026-02-24

### [SSH Tunneling and Port Forwarding Techniques: A Command-Line Reference](/jlevy/the-art-of-command-line/ssh-tunneling-port-forwarding)

Master SSH tunneling and port forwarding with command-line techniques. Securely route traffic, create SOCKS proxies, and expose local servers using -L -D -R flags. Access remote services safely.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Work with Compressed Files Using zless and zgrep: Command Line Streaming Guide](/jlevy/the-art-of-command-line/compressed-files-zless-zgrep)

Stream through gzip compressed files with zless and search inside them using zgrep without decompressing to disk. Save time and storage space on large archives.

- Tags: how-to-guide
- Published: 2026-02-24

### [Process Monitoring and Resource Analysis with top and htop: A Practical Guide](/jlevy/the-art-of-command-line/process-monitoring-top-htop)

**Use `top` for lightweight scripted monitoring and `htop` for interactive visual troubleshooting; both utilities read from the `/proc` virtual filesystem to display real-time CPU, memory, and I/O statistics without requiring r...

- Tags: how-to-guide
- Published: 2026-02-24

### [Powerful Text Processing with awk and sed: Essential One-Liners from the Art of Command Line](/jlevy/the-art-of-command-line/awk-sed-text-processing)

Master text processing with awk and sed one-liners. Learn efficient column summarization, pattern substitution, and delimiter conversion from The Art of Command Line.

- Tags: how-to-guide
- Published: 2026-02-24

### [Efficient File Searching with ripgrep: Commands and Best Practices](/jlevy/the-art-of-command-line/efficient-file-searching-ripgrep)

Learn efficient file searching with ripgrep rg. Discover commands and best practices to quickly find files in your codebase, outperforming grep.

- Tags: how-to-guide
- Published: 2026-02-24

### [Debugging System Issues with strace and ltrace: Essential Linux Techniques](/jlevy/the-art-of-command-line/debug-system-issues-strace-ltrace)

Debug Linux system issues with strace and ltrace. Monitor kernel calls and library interactions. Use flags like -f and -c to effectively diagnose program failures hangs or crashes.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Process JSON at the Command Line with jq](/jlevy/the-art-of-command-line/jq-command-line-json-processing)

Learn to process JSON at the command line with jq. Discover how this powerful tool integrates with Unix-style I/O for reliable filtering and piping without temp files.

- Tags: how-to-guide
- Published: 2026-02-24

### [Efficient File Operations with Bash Globbing and Brace Expansion: A Complete Guide](/jlevy/the-art-of-command-line/bash-globbing-brace-expansion-file-operations)

Master efficient file operations using Bash globbing and brace expansion. Learn to expand wildcards and generate strings before command execution easily.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Use xargs for Parallel Execution: A Practical Guide for Linux and macOS](/jlevy/the-art-of-command-line/xargs-parallel-execution)

Learn to use xargs for parallel execution on Linux and macOS. Distribute tasks across simultaneous command instances and boost your multicore processing power efficiently.

- Tags: how-to-guide
- Published: 2026-02-24

### [Bash Strict Mode Best Practices: Writing Safer Shell Scripts](/jlevy/the-art-of-command-line/bash-strict-mode-best-practices)

**Enable `set -euo pipefail` at the start of every Bash script to force immediate exits on errors, undefined variables, and pipeline failures, dramatically reducing silent bugs and data corruption risks.**

- Tags: 
- Published: 2026-02-24

### [How to Use Process Substitution and Named Pipes in Bash: A Complete Guide](/jlevy/the-art-of-command-line/bash-process-substitution-named-pipes)

Master bash process substitution and named pipes. Efficiently stream command data without temporary files and boost your script performance now.

- Tags: how-to-guide
- Published: 2026-02-24

### [How to Manage Bash Process Signals and Job Control: A Practical Guide](/jlevy/the-art-of-command-line/bash-process-signals-job-control)

Master Bash process signals and job control to effectively suspend, resume, background, and terminate processes. Learn practical commands and techniques for optimal command line management.

- Tags: how-to-guide
- Published: 2026-02-24

