3 ms·
popd and pushd are commands that, once learned, I thought would change my life forever. Turns out, not so much. :| EDIT: 'watch mtr' is handy for keeping an
by angersock 13y ago
popd and pushd are commands that, once learned, I thought would change my life forever.
Turns out, not so much. :|
EDIT:
'watch mtr' is handy for keeping an eye on your network connection, and finding slowdowns.
- simcop2387 13y agoUsing some aliases you can have pushd automatically. What then ends up useful with that is you can use ~1 ~2 ~3 ... to refer to old directories. That will change your life :) http://unix.stackexchange.com/questions/4290/aliasing-cd-to-pushd-is-it-a-good-idea http://unix.stackexchange.com/questions/4290/aliasing-cd-to-...
- theophrastus 13y agoi also tried to use pop/pushd ...tried hard. and never got it integrated into the work flow. however this guy's method has saved me a lot of keystrokes (very handy if one has a few, frequently visited, yet deeply nested, directories): http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-f...
- eropple 13y agoI aliased `cd` to pushd (squelching output) and `dc` to popd in my interactive shell. It's super handy to have a back button for my shell.
- LVB 13y agoAgreed. The game changer for me turned out to be: https://github.com/rupa/z https://github.com/rupa/z It has an uncanny knack for getting me to where I want to go with very little in the way of input.
- justinmk 13y agofzf completely replaces z, and is ridiculously fast. https://github.com/junegunn/fzf https://github.com/junegunn/fzf
- deleted 13y ago[deleted]
- vacri 13y agoWhy do you need to 'watch' mtr? It functionally behaves as a watched tool to begin with.
- angersock 13y agoBecause I'm dumber than a sack of rocks, apparently. :|