Weblog (or Blog)


Monday, May 13, 2019

Climbing the Tree in bash

If you are going through Zed Shaw's Command Line Crash Course, you see that much of his content relates to changing from one directory to another and knowing where you are in the directory tree. Using the command line is so different from using a GUI such as Finder to navigate the directories. With Finder, you see the directory tree displayed and all you have to do to move from one to another is click.

Bash shells on other versions of Linux/Unix have a terminal command "tree" to show you all the directories "below" your working directory. MacOS does not come with tree installed. You can, however, install it yourself. A post on SuperUser tells you how to install the tree command on macOS.

posted at: 17:51 | path: /bash | permanent link