Preexisting Conditional

The worst thing about Linux, bar none, is the “I’ve been stupid” feeling you get when you only just now find the simple tool that’s been around forever, that solves some nagging problem you’ve had just as forever. I swear to God, I did not know what “cd -” did until just now.

Mental note: look for those solutions much sooner than later. They’re in there.

5 Comments | Skip to comment form

  1. Skwid

    Ooo, nice!

  2. Alex Rootham

    That’s why Pair Programming works.

  3. mhoye

    Mentoring, at least.

  4. John

    I knew about OLDPWD, but not the simpler version.

    Semi-related: Did you know about pushd and popd?

  5. mhoye

    I do now!