popd Linux Command
Returns to the directory saved by the last pushd command.
What does popd do?
Returns to the directory saved by the last pushd command.
Syntax
popdPractical example
popdRelated Navigation Commands
pushdSaves the current directory and then changes to the specified directory.
dirsDisplays the directory stack (list of directories saved with pushd).
cd -Switches back to the previous working directory.
pwdPrints the current working directory (full path from root).
cd ~Changes to the current user's home directory.
lsLists files and directories in the current directory.