Reputation
4,900
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
14 39
Newest
 Nice Answer
Impact
~1.5m people reached

Apr
11
answered What horrible mistakes should I avoid as a newb?
Apr
11
comment Shell: How to read the bytes of a binary file and print as hexadecimal?
@Tom: Maybe a different Unix/Linux flavor? My od is: od --version od (GNU coreutils) 7.4
Apr
10
awarded  Nice Answer
Apr
10
answered Linux - command to list files (except ls)
Apr
8
answered Find biggest files or directories
Apr
8
answered Shell: How to read the bytes of a binary file and print as hexadecimal?
Apr
7
revised Shell: How to read the bytes of a binary file and print as hexadecimal?
added 25 characters in body
Apr
7
comment Shell: How to read the bytes of a binary file and print as hexadecimal?
Thanks, I'll update my post.
Apr
7
answered Shell: How to read the bytes of a binary file and print as hexadecimal?
Apr
5
answered Repeat a Unix command every x seconds forever
Apr
2
comment Script to list only files of type ASCII text in the current directory?
Yes, but I need to add, that this is a gnu-find extension. Most of the time I forget about that.
Mar
27
comment A problem with find and grep
gnu find can handle mutliple filenames at once too: find . -name "$1" -exec grep --color $2 -- {} + if ended with + instead of ";"
Mar
26
comment A problem with find and grep
$i should be $1, and $1 and $2 should be quoted to allow blanks and such in filenames and search-word.
Mar
26
comment A problem with find and grep
find can call grep without xargs invocation, see -execdir, but in this case, the called program grep can iterate itself.
Mar
23
comment Why is deleting files by name painfully slow and also exceptionally fast?
Premature optimization is the root of all evil. :) When will you ever delete 10 Million files? 100 000 per second seems fast enough to me (to ruin your system).
Mar
21
revised How do I delete everything in a directory?
added 58 characters in body
Mar
21
comment How do I delete everything in a directory?
there is a -delete switch, so you can delete directories. (at least in gnu-find).
Mar
21
comment How do I delete everything in a directory?
You can combine them to rm -rf .* *.
Mar
21
comment How do I delete everything in a directory?
So how is that more easy. 'Be careful' isn't an answer. I wouldn't understand why somebody deletes a directory and rebuilds it again.
Mar
21
answered How do I delete everything in a directory?