Advanced · Understand the workspace
pushd: Enter the directory and push it into the directory stack
Syntax
pushd DirectoryExamples
pushd /tmpUsage and sandbox support
For review only: practice in a real Linux environment, this sandbox does not execute this command.
This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.
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