opscape

Commands

149 commands, grouped by what you are trying to do. Each page has the most useful forms, run for real, with pitfalls and the GNU vs macOS differences.

Files and directories

Create, copy, move, link and inspect files and directories. Cheat sheet

Viewing files

Look inside files: the start, the end, line counts and raw bytes. Cheat sheet

Text processing

Filter, cut, sort, transform and compare text, the shell's real superpower. Cheat sheet

Archives and compression

Pack, compress and unpack tarballs, zips and friends. Cheat sheet

Processes and jobs

See what is running, stop it, background it, time it. Cheat sheet

System and users

Who you are, what the machine is doing, dates, services and logs. Cheat sheet

Disks and filesystems

Space used, space free, and what is mounted where. Cheat sheet

Networking and remote

HTTP requests, remote shells, file sync and sockets. Cheat sheet

Shell builtins

Commands built into bash itself: variables, options, tests and control. Cheat sheet