Please comment if you have a favorite not on this list.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
Favorite Unix Commands
31–40 of 135 posts
Re: Favorite Unix Commands
#32Please comment if you have a favorite not on this list.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
If you do this on my servers, I am going to find you, and then I am going to kill... um... your process.
less with SHIFT-F takes a whole CPU core to run on a busy log file. tail -f takes almost nothing to run. Now combine that information with the reality of a whole bunch of devs who don't know it or don't care about it. :(
Re: Favorite Unix Commands
#33Ctrl+l is my most used command. I need a clean terminal
Re: Favorite Unix Commands
#34Please comment if you have a favorite not on this list.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
Re: Favorite Unix Commands
#35Please comment if you have a favorite not on this list.
https://www.google.de/search?q=byobu+tmux&tbm=isch
It's a fancy statusbar that shows CPU speed, IP-address, hostname, ...
Re: Favorite Unix Commands
#36Earlier quoted context omitted.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
Hm, can you start at the end of file without reading the entire file with less? Use case is tailing large logs.
Re: Favorite Unix Commands
#37Earlier quoted context omitted.
'tac'. It is 'cat', but backwards.
Are you some kind of genius?
Spong 'soaks up' input an releases it all on one chunk so that you can do things like:
cat foo | sponge foo
(`cat foo > foo` does not work)That's neat and all, but what if you don't have sponge? Well, just use tac twice!
cat foo | tac | tac > foo
(Obviously this is rather wasteful ;))Re: Favorite Unix Commands
#38Please comment if you have a favorite not on this list.
If you use tmux (or screen) you want to use byobu! https://launchpad.net/byobu https://www.google.de/search?q=byobu+tmux&tbm=isch It's a fancy statusbar that shows CPU speed, IP-address, hostname, ...
Re: Favorite Unix Commands
#39I think I might've just saved days of my life....thank you!
Re: Favorite Unix Commands
#40Earlier quoted context omitted.
tsort. It's pointless until you need it, but when you need it, it's totally awesome . less. Overkill, but SO MUCH BETTER THAN tail -f. Seriously. You can toggle "follow mode" without losing your place in the incoming stream.
multitail[1] is also really nice for following multiple log files. It can do highlighting of lines based on regex's, and has built-in highlighting of a wide variety of log formats [1] http://www.vanheusden.com/multitail/features.php