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's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Mon Feb 13 09:18:06 UTC 2023 against commit f339958f33995895c1d997efcdbb8408d2c8d45f8b5f934.

Current version is which has been verified against 13950 tests cases.