murex Shell Docs

Command Reference: cd

Change (working) directory

Description

Changes current working directory.

Usage

cd path

Examples

# Home directory
» cd: ~ 

# Absolute path
» cd: /etc/

# Relative path
» cd: Documents
» cd: ./Documents

Detail

cd updates an environmental variable, $PWDHIST with an array of paths. You can then use that to change to a previous directory

# View the working directory history
» $PWDHIST

# Change to a previous directory
» cd $PWDHIST[0]

See Also

This site is rebuilt weekly, the content is automatically generated from murex's source code. Last built on Mon May 25 06:11:51 UTC 2020 against commit aa3f3b7aa3f3b7e471543754fdcaf910d4920cad9112b91. Downloadable murex binaries are also built weekly. Current version is 0.48.0120 BETA which has been verified against 29375 tests.