Name

pwd

Synopsis

    pwd

Print the full pathname of the current directory. (Command name stands for “print working directory.”) Note: the built-in versions, pwd (Bash and Korn shells) and dirs (C shell), are faster, so you might want to define the following C shell alias:

    alias pwd dirs -l

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.