mac get current path code example Example: macbook current path # pwd stands for print working directory pwd