Menu

dk-pwd manual

Dirk Krause
← Previous ↑ Home → Next

dk-pwd — Print working directory

Synopsis

dk-pwd [_options_]

Description

The dk-pwd program prints the working directory. It is mainly intended for systems without a native pwd command.


Options

Option Purpose
-l
--last
Show final component only.
-b
--beautify
Replace backslashes by slashes.

Exit status

0 on success, all other status codes indicate an error.


Notes

This program uses DK libraries version 4.


Example

Print current working directory.

dk-pwd -l

← Previous ↑ Home → Next

Related

Wiki: dk-pwd