6th
tip: shell
script from @dreev to transparently use gnu screen over ssh for persistent logins http://bit.ly/lYNtG
script from @dreev to transparently use gnu screen over ssh for persistent logins http://bit.ly/lYNtG
use sort’s -S option to set main memory buffer size to speed up large sorts (via @eytan)
use cd - to return the previous working directory (also via @ssuri)
use find . -mtime -1 to find files modified in the last day (-mmin -10 for last 10 minutes) http://bit.ly/q51xT (via @shellfu)
use netcat (nc) to listen on and connect to network sockets http://bit.ly/JxFCA
pipe viewer is useful to monitor the progress of pipes handling lots of data http://bit.ly/2NSP
to create array variables in bash, use myarr=(alpha beta gamma); echo ${myarr[2]} http://bit.ly/qko2S
to create variables with default values in bash, use echo ${myvar:=default} http://bit.ly/ev7il
to insert a tab on the command line (e.g. for tab delimited sort -t), hit ctrl-v, then tab http://bit.ly/V6320
tset and reset will (re)initialize terminall settings, including columns, lines, etc.