Advanced · Understand the workspace
pushd: Enter the directory and push it into the directory stack
Syntax
pushd DirectoryExamples
pushd /tmpUsage and sandbox support
Manual reference only
Related commands
pwdShow current locationlsList files and directoriescdSwitch working directorytreeObserve the directory structuremanQuery command manualhelpView support scoperealpathParse absolute pathswhichFind external command locationtypeIdentify built-in and external commandslocateFind a file in the indexupdatedbUpdate file indexpopdPop directory stackdirsShow directory stack