@[email protected] to [email protected] • 1 month agoThat is the waysub.wetshaving.socialimagemessage-square145fedilinkarrow-up1927
arrow-up1927imageThat is the waysub.wetshaving.social@[email protected] to [email protected] • 1 month agomessage-square145fedilink
minus-squarePup BirulinkfedilinkEnglish1•edit-21 month ago- returns you to the previous path rather than repeat the last cd right? so cd - would undo the cd …
minus-square@[email protected]linkfedilinkEnglish1•1 month 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 ../../../..