Mac command line for Windows Users

Steve Ellwood
Jul 19, 2022

--

This is how to use the command line on a Mac to get information that you may occasionally need. It will be extended as I come across more that I find useful.

PATH

The path on a Mac is stored as an environment variable, just as in Windows. In order to see what it currently is use

echo $PATH

The path is stored in /etc/paths.d directory and that file can be edited to update the path

Path to an Executable

This command tells you where an executable is and can be used for debugging purposes

which <executable>

--

--

Steve Ellwood

Senior Integrations Officer at Doncaster Council Any views expressed are entirely my own.