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 Fri Sep 10 15:05:25 UTC 2021 against commit 437c274437c274fded54d82e99d70ea7d2917f332c095dd.

Current version is 2.2.1200 BETA which has been verified against tests.