From 585e002f29fb34bad0fe98c3591f500108014486 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 7 Nov 2010 21:16:36 -0500 Subject: tricks and flicks --- film/to-watch.page | 3 +-- software/unix-tricks.page | 13 +++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/film/to-watch.page b/film/to-watch.page index 7fdebf8..f37e2ba 100644 --- a/film/to-watch.page +++ b/film/to-watch.page @@ -4,12 +4,10 @@ Films To Watch * Children of Paradise * Brain Candy * One, Two, Three - * The White Ribbon (by Haneke) * Project Grizzly * Koyaanisqatsi * Baraka * Hell House - * Thomas Crown Affair (original) * Black Orpheus * Infernal Affairs * Gummo @@ -18,4 +16,5 @@ Films To Watch * The Man in the White Suit * Seconds * Serpico + * The Lion in Winter diff --git a/software/unix-tricks.page b/software/unix-tricks.page index ad5c3ee..fea6aef 100644 --- a/software/unix-tricks.page +++ b/software/unix-tricks.page @@ -27,13 +27,22 @@ mapping under the console, edit ``/usr/share/syscons/keymaps/us.iso.kbd`` and change 'ralt' to 'meta'. Figlet -===================== +--------------------- figlet is the horizontal banner. thttpd -=============== +--------------- thttpd is a super small/light http web server with almost no features. To server up the working directory as cgi to local host, use:: $ thttpd -p 8080 -h localhost -D + +Simple "undelete" +-------------------- +This oneliner is useful for recovering recently deleted files from unix +filesystems, assuming you know a reasonably unique string in that file. Change +the -A and -B options (lines of context before and after the unique string) as +appropriate, and go through the output file to clean up the text. + + $ sudo grep "bookmark_bar" --binary-files=text -B 10 -A 1000 /dev/sda5 | tee undeleted_content.txt -- cgit v1.2.3