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

  1. Posted December 8, 2011 at 2:11 pm | Permalink

    Ooo, nice!

  2. Alex Rootham
    Posted December 8, 2011 at 3:18 pm | Permalink

    That’s why Pair Programming works.

  3. mhoye
    Posted December 8, 2011 at 3:20 pm | Permalink

    Mentoring, at least.

  4. Posted December 11, 2011 at 4:16 pm | Permalink

    I knew about OLDPWD, but not the simpler version.

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

  5. mhoye
    Posted December 12, 2011 at 2:04 pm | Permalink

    I do now!