current working directory

The directory a shell or process is standing in, where any relative path or bare file name is looked up.

In more detail

Each process has its own, and a child process starts with a copy of its parent's, so a script that changes directory never moves your terminal. In a shell, pwd prints it and cd changes it.

Examples

In Python, Path.cwd() or os.getcwd() shows it; Idle and double-clicked scripts may start somewhere unexpected.
auditd's CWD record stores the directory the command was run from.

Related terms

Taught in

References