Function Reference
— Command: cd dir
— Command: chdir dir

Change the current working directory to dir. If dir is omitted, the current directory is changed to the user's home directory. For example,

          cd ~/octave

Changes the current working directory to ~/octave. If the directory does not exist, an error message is printed and the working directory is not changed.

See also: mkdir rmdir dir