.. index:: cd (command) .. _command_cd: cd - change working directory ============================= Usage ^^^^^ ``cd DIRECTORY`` Synopsis ^^^^^^^^ :: If called without an argument, change to the root directory '/'. Use 'cd -' to change to the previous directory. Sets OLDPWD environment variable. .. generated from: ./commands/cd.c .. command function: do_cd