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 Thu May 26 22:49:43 UTC 2022 against commit 59e27bb59e27bb1013043fc4a940cf9a2767c63f31dad2c.

Current version is 2.8.2100 which has been verified against 15889 tests cases.