Re:The sad state of sysadmin in the age of containers
by Symbiote on Wednesday April 22, 2015 @12:13PM
(#9421449)
I'm a very proficient user of command line tools, but I don't remember everything: my shell history is set to 50,000 lines, and it's the first thing I search if I've forgotten something.
Sequences of commands sometimes get pasted into a conveniently-located text file; if I find myself repeating the operation I might turn it into a script, a shell function for my .zshrc, or an alias.
Just 10 minutes ago:
mysqldump [args] | nc -v w.x.y.z 1234
nc -v -l 1234 | pv | mysql [args]
(after an initial test that showed adding "gzip -1" was slower than uncompressed gigabit ethernet.)
Sequences of commands sometimes get pasted into a conveniently-located text file; if I find myself repeating the operation I might turn it into a script, a shell function for my .zshrc, or an alias.
Just 10 minutes ago: mysqldump [args] | nc -v w.x.y.z 1234 nc -v -l 1234 | pv | mysql [args] (after an initial test that showed adding "gzip -1" was slower than uncompressed gigabit ethernet.)