On Fri, 18 Jun 2021, Rich Shepard wrote:

Are you familiar with the PWD environment variable? At the shell prompt type

$ echo PWD

and the present working directory will be displayed.

From the "Yes, I'm old and cranky" Department: just use the pwd
utility and save yourself some typing.

[heinlein@omega ~]$ echo $PWD
/home/heinlein
[heinlein@omega ~]$ pwd
/home/heinlein

pwd is part of the GNU coreutils application suite, so it's probably installed just about everywhere outside of appliance-y machines.

--
Paul Heinlein
[email protected]
45.38° N, 122.59° W

Reply via email to