weird@sub.wetshaving.social to linuxmemes@lemmy.world · 2 days agoThat is the waysub.wetshaving.socialimagemessage-square145fedilinkarrow-up1899arrow-down118
arrow-up1881arrow-down1imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 2 days agomessage-square145fedilink
minus-squarePup Biru@aussie.zonelinkfedilinkEnglisharrow-up1·edit-22 days ago- returns you to the previous path rather than repeat the last cd right? so cd - would undo the cd …
minus-squarekibiz0r@midwest.sociallinkfedilinkEnglisharrow-up1·1 day agoPoint 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 ../../../..
-
returns you to the previous path rather than repeat the last cd right? so cd - would undo the cd …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
andcd -
is better thancd foo/bar/baz/qux
andcd ../../../..