Aug 03
pwd
Any Linux/Unix file system is a veritable labrynth in which getting lost is both easy an undesirable, specially while being logged in as the root or superuser –messing around with the wrong file can jump back at you. Having a stroll around the fs, however, is also unavoidable whenever you need to perform any task slightly more interesting than a ping.
pwd is one of those commands so seemingly simple that its usefulness often goes under the radar. Yet it can save you a lot of time and frustration whenever the piece of information you need is to know where the hell in the filesystem you currently are.
Its invoked by typing
pwd
and that’s it. It returns your current path.
Nothing simpler, nothing more useful.
