cd for filesystem

Change directory.

Signature

> cd {flags} (path)

Parameters

  • path: The path to change to.

Input/output types:

inputoutput
nothingnothing
stringnothing

Examples

Change to your home directory

> cd ~

Change to the previous working directory ($OLDPWD)

> cd -