@cybercitizen4@lemm.ee to Asklemmy@lemmy.ml • 8 months agoWhat's a handy terminal command you use often?message-square242fedilinkarrow-up1224arrow-down10
arrow-up1224arrow-down1message-squareWhat's a handy terminal command you use often?@cybercitizen4@lemm.ee to Asklemmy@lemmy.ml • 8 months agomessage-square242fedilink
minus-squareitsamelinkfedilink23•8 months agopushd and popd to change directory and go back when done there.
minus-square@jbrains@sh.itjust.workslinkfedilink3•8 months agoEven better when cd automatically invokes pushd.
minus-square@lluki@feddit.orglinkfedilink27•8 months agocd - undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -
minus-square@med@sh.itjust.workslinkfedilink4•8 months agoHell yeah. Every one of these threads makes me more inclined to read man pages
minus-square@7dev7random7@suppo.filinkfedilink2•8 months agoYou should. These are the actually sources to learn.
pushd and popd to change directory and go back when done there.
Even better when
cd
automatically invokespushd
.cd -
undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -Hell yeah. Every one of these threads makes me more inclined to read man pages
You should. These are the actually sources to learn.