jake RSS


jakehofman.com

Archive

Aug
6th
Thu
permalink

tip: shell

script from @dreev to transparently use gnu screen over ssh for persistent logins http://bit.ly/lYNtG

tips  shell 
Jun
24th
Wed
permalink

tip: shell

use sort’s -S option to set main memory buffer size to speed up large sorts (via @eytan)

tips  shell 
Jun
12th
Fri
permalink

tip: shell

use cd - to return the previous working directory (also via @ssuri)

tips  shell 
Jun
2nd
Tue
permalink

tip: shell

use find . -mtime -1 to find files modified in the last day (-mmin -10 for last 10 minutes) http://bit.ly/q51xT (via @shellfu)

tips  shell 
May
20th
Wed
permalink

tip: shell

use netcat (nc) to listen on and connect to network sockets http://bit.ly/JxFCA

tips  shell 
permalink

tip: shell

pipe viewer is useful to monitor the progress of pipes handling lots of data http://bit.ly/2NSP

tips  shell 
Mar
16th
Mon
permalink

tip: shell

to create array variables in bash, use myarr=(alpha beta gamma); echo ${myarr[2]} http://bit.ly/qko2S

tips  shell 
permalink

tip: shell

to create variables with default values in bash, use echo ${myvar:=default} http://bit.ly/ev7il

tips  shell 
Mar
9th
Mon
permalink

tip: shell

to insert a tab on the command line (e.g. for tab delimited sort -t), hit ctrl-v, then tab http://bit.ly/V6320

tips  shell 
Jan
30th
Fri
permalink

tip: shell

tset and reset will (re)initialize terminall settings, including columns, lines, etc.

tips  shell