Linux / Unix / OS X Command Line Environment

I spend a fair amount of time working in various command-line environments (CLIs), including Windows Powershell, but favor the bash environment found on Linux and Unixes (including OS X, among others). The bash CLI’s ubiquity across many different operating systems, and the power of even its built-in command language, make it worth learning about for anyone who works with technology.

While the articles in this section use the bash shell (and particularly, the Linux OS) as an example, most will work without much, if any, modification in most Linux or Unix shells such as zsh.

Note

Linux distributions typically use the GNU version of common command-line utilities, and that the features of certain commands such as sed, grep and even ls may differ somewhat on Unixes such as BSD and OS X. If something doesn’t quite go right,