cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 8 days agoWhat's a handy terminal command you use often?message-squaremessage-square282fedilinkarrow-up1228arrow-down16
arrow-up1222arrow-down1message-squareWhat's a handy terminal command you use often?cybercitizen4@lemm.ee to Asklemmy@lemmy.ml · 8 days agomessage-square282fedilink
minus-squareitsame@lemmy.worldlinkfedilinkarrow-up25·8 days agopushd and popd to change directory and go back when done there.
minus-squarejbrains@sh.itjust.workslinkfedilinkarrow-up4·8 days agoEven better when cd automatically invokes pushd.
minus-squarelluki@feddit.orglinkfedilinkarrow-up28·8 days agocd - undoes the last cd. Not quite push/popd but still useful. Pro tip, works also: git checkout -
minus-squaremed@sh.itjust.workslinkfedilinkarrow-up4·7 days agoHell yeah. Every one of these threads makes me more inclined to read man pages
minus-square7dev7random7@suppo.filinkfedilinkarrow-up2·7 days 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
.what’s your alias?
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.