Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Shell Script Best Practices, from a decade of scripting things. Parent comment
$OLDPWD is set when you 'cd'. Also 'cd -' will take you back to the last directory.
https://pubs.opengroup.org/onlinepubs/9699919799/
There are no comments on this comment yet.
$OLDPWD is set when you 'cd'. Also 'cd -' will take you back to the last directory.
https://pubs.opengroup.org/onlinepubs/9699919799/