cd
for filesystem
Change directory.
Signature
> cd {flags} (path)
Parameters
path
: The path to change to.
Input/output types:
input | output |
---|---|
nothing | nothing |
string | nothing |
Examples
Change to your home directory
> cd ~
Change to the previous working directory ($OLDPWD)
> cd -