npm ls -g --depth=0 2>/dev/null
npm ls --depth=0 2>/dev/null
You can drop the
2>/dev/null redirection but then you won't get a cleaner
. one after the other to disconnect from a frozen session. Simple but effective.
This works because these are escape sequences. Next time you SSH somewhere just type
? (tilde, then question mark) to
Using Git and just applied the wrong stash? No worries, the following will help you.
Unapply the last stash:
→ git stash show -p | git apply -R
Unapply a specific stash: e.g. 0 in this…