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