📎 Webclip
The Art of Command Line
The page collects practical command-line notes for Linux, with some sections for macOS and Windows. It aims to stay brief while still covering the common commands, shell habits, and debugging tools that matter most in daily use.
Reading notes#
- The guide is meant for both beginners and experienced users, and it values breadth, concrete examples, and brevity.
- It is written mainly for Linux and interactive Bash, though many items also apply to other shells and Unix-like systems.
- It recommends learning Bash, a text editor such as Vim or Emacs, and the basic documentation tools man, help, apropos, and type.
- It stresses core shell skills such as redirection, pipes, globbing, quoting, job control, ssh, and file and network management.
- It covers everyday shell use like tab completion, history search, key bindings, aliases, environment files, and safe handling of whitespace in filenames.
- It explains useful Bash features such as strict mode, subshells, variable expansion, brace expansion, process substitution, here documents, and combined stdout and stderr redirection.
- It groups file and data tools for locating files, searching text, converting formats, working with JSON, CSV, XML, sorting, joining, counting, and renaming files.
- It lists debugging tools for web requests, CPU, disk, network, memory, Java, processes, system calls, shared libraries, kernel messages, and historical system statistics.
- It gives one-line command examples for set operations on text files, JSON diffs, log tallies, and repeated monitoring with watch.
- It includes shorter references to lesser-used Unix tools, along with separate notes for macOS and Windows command-line environments.
- It ends with resource links, a reminder that power in Bash should be used carefully, and a Creative Commons BY-SA 4.0 license.
