The pwd command prints the current working directory. It is a Korn shell built-in command and is equivalent to the print r ?$PWD command.