weird@sub.wetshaving.social to linuxmemes@lemmy.world · 7 months agoThat is the waysub.wetshaving.socialimagemessage-square147fedilinkarrow-up1927
arrow-up1927imageThat is the waysub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 7 months agomessage-square147fedilink
minus-squarePup Biru@aussie.zonelinkfedilinkEnglisharrow-up1·edit-27 months 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·7 months 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 ../../../..
cd -helps-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/quxandcd -is better thancd foo/bar/baz/quxandcd ../../../..