4 ms·
Love the idea! One little nitpick - in the `ls` section, you have a paragraph that reads: > Go back too much? Use ls to see what’s in the directory you’re in,
by benmanbs 8y ago
Love the idea! One little nitpick - in the `ls` section, you have a paragraph that reads:
> Go back too much? Use ls to see what’s in the directory you’re in, and then use cd to head back to where you want to go:
In my experience, if I get lost with `cd`, the best way for me to figure out where I am is not to execute an `ls` (because I might be in a folder with no contents, or somewhere with ambiguous content), I would recommend `pwd` ("print working directory").
- lpghatguy 8y agoIn the example, the shell is already outputting the result of `pwd` as part of the prompt, which should be enough to help get your bearings.