Table of Contents

The cd command

The cd command changes the current directory. Simply type
cd /some/directory
at the command line and press <enter>.

To make it work, CLEX treats the cd command as a special case and processes it internally.

It is required that the command is in the form of a single command and all special shell characters occurring in the directory name are quoted, otherwise the command will not be processed internally. The tilde substitution is supported though.

The cd command is an alternative to the directory panel.

Examples:

this command
cd /var/log
will be processed internally and will change the working directory, while this command
cd /dev ; ls -l lp*
will be executed normally, i.e. by a separate process and the effect of cd will be lost after returning to CLEX.

Note: