hpr1843 :: Some Bash tips
A few useful Bash features that may not be well known
Hosted by Dave Morriss on Wednesday, 2015-08-26 is flagged as Explicit and is released under a CC-BY-SA license.
Bash, pushd, popd, dirs.
2.
The show is available on the Internet Archive at: https://archive.org/details/hpr1843
Listen in ogg,
spx,
or mp3 format. Play now:
Duration: 00:21:17
Bash Scripting.
This is an open series in which Hacker Public Radio Listeners can share their Bash scripting knowledge and experience with the community. General programming topics and Bash commands are explored along with some tutorials for the complete novice.
Today I want to talk about three Bash commands:
pushd
popd
dirs
These let you change directory on a Linux system (and others which support Bash) but keep a record of where you have been in a stack structure. The stack can be viewed and manipulated with these commands as well.