pwd command

Synopsis

pwd

Description

The pwd command prints the current VFS working directory. The working directory is changed with cd command.

Example

=> cd /host
=> pwd
/host
=> cd /
=> pwd
/

Configuration

The pwd command is available when CONFIG_CMD_VFS=y.

Return value

The return value $? is always set to 0 (true).