cd for filesystem

Change directory.

Signature

> cd (path)

Parameters

  • path: the path to change to

Input/output types:

inputoutput
nothingnothing
stringnothing

Examples

Change to your home directory

> cd ~

Change to a directory via abbreviations

> cd d/s/9

Change to the previous working directory ($OLDPWD)

> cd -