• Pup Biru
      link
      fedilink
      English
      1
      edit-2
      1 month ago

      - returns you to the previous path rather than repeat the last cd right? so cd - would undo the cd …

      • @[email protected]
        link
        fedilink
        English
        11 month ago

        Point was: most of the time I see someone spending time counting the requisite number of ..s, all they really wanna do is “go back to where I was before”.

        cd foo/bar/baz/qux and cd - is better than cd foo/bar/baz/qux and cd ../../../..