mk90.commands

Command pwd

Print the normalized absolute current directory.

Synopsis

pwd

Ordinary invocation: foreground child, PID 3; the shell waits. Allowed as a pipe producer.

Parameters

This command has no documented parameters.

Description

Writes the current working directory and a newline. It does not query or change the medium. Unlike CD, PWD runs in the foreground child, PID 3.

Examples

pwd
pwd | cat

Limits and side effects

  • No options.

Status and diagnostics

Success is status 0. No command-specific status is added; shared ROM/controller failures remain possible. See the diagnostic reference.

See also

cd · pipe · Shell syntax