you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (2 children)
  • [–] 1 point 1 year ago* (1 child)

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

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year 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 ../../../..

  • source
  • parent