Bash - Directory stack

1 - About

The directory stack permits to navigate and come back in the directory tree.

3 - Management

3.1 - Display

3.2 - Add

Directories are added to the list with the pushd command;

3.3 - Rotate

See pushd

3.4 - Remove

The popd command removes entries from the list.

4 - Example

4.1 - Go away and returns


# we are now in /
pushd /aDir/
# we are now in /aDir/
popd
# we are now back in the starting current directory /


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap