There's a piece of paper that's followed me around from job to job, country to country, house to house, for decades now. The first notes are on it from my days in FullDuplex, supporting Sun Microsystems, and probably are commands that only work on sunos — or at least, on other unixes, there are better ways.
It has notes on it, little things that I tend to forget. Many parts of even this artificial memory are obscured by time and coffee.
diff --brief fs fs (to check if different)
diff --dbByW $COLUMNS fs fs (side by side)
Loop: i=1; while [ $i -lt limit ] ; do stuff ; i=`expr $i+1` ; done
Sort by length: cat file | perl -...
Sort by freq: mysqldump e-Bv `...
grep: -p = perl regex
-m = line numbers
-d/h = with/no filename
-z = data lines end in ...
-r /R = recurse
-l/L = matching/nonmatching filenames only
du -sh * = display human readable dir totals
Then there are the words I cannot ever remember when I need them: hypocritical, vichyssoise, modest, demure, humble, self-effacing, etymology, ambigram, portmanteau, procrustean, procrastinate, celery, defenestrate, petrichor, incongruous, bespoke, plagiarize, triage.
And on the other side, the mysterious incantation, which I think once was the sequence of keypresses needed to recover from having the wrong resolution set or perhaps from having a virtual screen set as primary:
Rclick desktop, up, enter, ctrl-shift-tab, tab, left, enter, enter.( Read more...Collapse )