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 Aug 10 06:09:08 UTC 2020 against commit 2557f7c2557f7cc7535c452c21d89164bd38ed8996f02fd. Downloadable murex binaries are also built weekly. Current version is 0.52.2000 BETA which has been verified against tests.