104 reputation
4
bio website idoimaging.com
location Baltimore, MD, USA
age
visits member for 2 years, 3 months
seen Oct 14 at 16:28

Software developer, medical imaging. Owner of I Do Imaging, the searchable database of 300 free medical imaging programs.


Sep
24
awarded  Autobiographer
Nov
26
comment Does rm -f follow symbolic links?
I get the same result as @Susam ('rm -r symlink/' does not delete the target of symlink), which I am pleased about as it would be a very easy mistake to make.
Feb
26
awarded  Supporter
Feb
26
comment How can I recursively delete empty folders?
The 'useless files' criterion complicates the problem. If you know in advance that only unwanted files are in the directory tree, you can force a recursive delete. But only you can define what constitutes 'useless' so for this action to be generalised or automated, it would be safer to do it in two steps: first recursively delete all files with known unwanted names, then delete the directories (without force, in case there are wanted files in there). This becomes nontrivial and I'd use a script or Cygwin if I want that level of control.
Feb
26
comment How to execute the output of `ls` from the command line?
Readline key bindings recall the previous command, delete the first word, and place the insertion point ready to add 'python' using 5 keystrokes without taking your fingers from the home keys: Ctrl-p-a-[ d. Ctrl-p previous-line Ctrl-a start-of-line Ctrl-[ Escape Esc-d kill-word. Esc is a substitute for Meta, Ctrl-[ is a substitute for Esc. Type this enough and it comes out faster than you can think...
Feb
26
revised How to execute the output of `ls` from the command line?
added 2 characters in body
Feb
26
answered How to execute the output of `ls` from the command line?
Feb
25
revised Redo typing in OSX bash
added 9 characters in body
Feb
25
comment Redo typing in OSX bash
Edited my answer to say 'Readline' rather than 'Emacs', although many key bindings are shared, also to broaden the kill buffer's definition. The Readline command kill-whole-line, which does the same as your ctrl-_, is unbound by default - I'd always wondered if there's a kill-whole-line command. I use ctrl-a-k (beginning-of-line kill-line) to kill the whole line.
Feb
25
revised Redo typing in OSX bash
deleted 24 characters in body
Feb
25
awarded  Teacher
Feb
25
revised Redo typing in OSX bash
edited body
Feb
25
revised Redo typing in OSX bash
added 184 characters in body
Feb
25
awarded  Editor
Feb
25
revised Redo typing in OSX bash
added 184 characters in body
Feb
25
answered Redo typing in OSX bash
Dec
5
answered How to auto source a shell script?