4,504 reputation
11222
bio website keith-s-thompson.github.com
location San Diego, CA
age 54
visits member for 2 years, 11 months
seen 2 days ago

I'm a programmer and all-around nerd living in San Diego, California and working at JetHead Development Inc.

E-mail: Keith.S.Thompson@gmail.com


Oct
17
comment Search for a previous command with the same prefix when I press Up at a shell prompt
Or you might consider switching to bash (I did).
Oct
15
comment What does * next to the file name mean in the output of ls?
@dchirikov: It's merely a duplicate, not a copy. (The word "copy" might imply a copy-and-paste of the exact content.)
Oct
9
awarded  Announcer
Oct
8
comment What is the easiest way to add a string on the beginning of every line of the file from the command line?
@sim: It's bash 3.1.17, at least on the one I'm logged into at the moment.
Oct
8
comment What is the easiest way to add a string on the beginning of every line of the file from the command line?
@slm: "I find it extremely hard to imagine a system that has Bash but not Perl". I have several such systems sitting on my desk. (They happen to be embedded systems.)
Oct
8
comment What is the easiest way to add a string on the beginning of every line of the file from the command line?
I often use $$ (the current shell's process id) as part of a temporary file name; it avoids the effort of thinking of a guaranteed unique name every time: command filename > filename.$$ && mv filename.$$ filename
Oct
8
comment What is the easiest way to add a string on the beginning of every line of the file from the command line?
Strictly speaking, the changes are reflected in a new file with the same name as the original.
Sep
23
revised How to install SUMO on Ubuntu 10.10
Link to SUMO page
Sep
23
comment Wrongly set chmod / 777. Problems?
Did the chmod -R 777 ./ command have to be run as root?
Sep
13
comment How to install SUMO on Ubuntu 10.10
What is "sumo"?
Sep
3
awarded  Yearling
Aug
28
comment Shift-Space in less
@StephaneChazelas: How would you do that for xterm?
Aug
28
comment Shift-Space in less
@goldilocks: There's nothing wrong with wanting to use Shift-Space, especially if you're used to using it with other tools. It just happens to be impossible for less to distinguish between Space and Shift-Space.
Aug
26
comment In Linux, is 'make folder/path/clean' same as running 'make clean' command in folder/path?
The -C option is not POSIX.
Aug
23
awarded  Enlightened
Aug
23
awarded  Nice Answer
Aug
16
comment Does the kernel have a main() function?
Also asked by the same user here: stackoverflow.com/q/18266063/827263
Jul
27
answered Prevent a file from being deleted even after rm -f
Jul
20
comment Why is it better to use “#!/usr/bin/env NAME” instead of “#!/path/to/NAME” as my shebang?
@root: For Perl, use v5.12; serves some of that purpose. And #!/usr/bin/env perl5.12 will fail if the system has Perl 5.14 but not 5.12. For Python 2 vs. 3, #!/usr/bin/python2 and #!/usr/bin/python3 are likely to work.
Jul
19
revised why does ls -d also list files, and where is it documented?
Clarify wildcard expansion