pwd (target)

Print working (current) directory (POSIX, toybox)

Syntax:

pwd [-L | -P]

Runs on:

QNX OS

Options:

-L
Use shell's path from $PWD (when applicable).
-P
Print canonical absolute path.

Description:

The pwd utility writes the pathname of the current working directory to the standard output.

The pwd command is available both as a shell alias (equivalent to print "$PWD"), and as a standalone utility. For information about the builtin cd and pwd commands, see ksh. To make sure you use the executable, specify the full path.

This utility is provided as part of the toybox package. For information on how to enable it, see toybox.

Contributing author:

Rob Landley and the toybox project (see https://landley.net/toybox/).

Page updated: