Posts Tagged ‘pwd’

Linux Command Line Basics Part II: Navigation

Knowing basic *nix terminal commands is an absolute must for any computer pro. Whether you use Windows, Mac OS or Linux, you’re bound to face the command prompt at some stage, so here’s my crash course in CLI. Part 2 covers some basic commands for navigating the file system.

Navigation

pwd

‘pwd’ stands for ‘print working directory’, also known as the ‘where the hell am I?’ command. Depending on the default shell running on your machine, you may not have any information about your whereabouts in the file system, which is where ‘pwd’ comes in. pwd will print the current (‘working’) directory on a new line.

pwd in action

(more…)