What's a handy terminal command you use often?

cybercitizen4@lemm.ee to Asklemmy@lemmy.ml – 140 points –
181

You are viewing a single comment

pushd and popd to change directory and go back when done there.

Even better when cd automatically invokes pushd.

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