Reputation
216
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 10
Impact
~7k people reached

Jan
29
comment Doing simple math on the command line using bash functions: $1 divided by $2 (using bc perhaps)
Significant annoyance: echo $((6383/7671)) will give you zero. You need to be explicit about floating point numbers: echo $((6383.0/7671.0))
Nov
10
comment Decoding URL encoding (percent encoding)
This answer is attractive when you don't want to deal with installing perl modules.
Nov
2
comment rsync without prompt for password
Note to reader: this also requires an rsync daemon running on the server. I really was hoping that ssh keys would be sufficient for passwordless rsync.
Oct
5
comment How to persist ulimit settings in OSX Mavericks?
I'm using 10.9.5 but only the /etc/launchd.conf approach shows any effect when I run ulimit -n. Could someone update the instructions if this is significant?
Aug
3
awarded  Popular Question
Jul
28
comment Find -exec + vs find | xargs. Which one to choose?
-print0 is a pain and though you can argue xargs --delimiter "\n" isn't equivalent, I've never once used the former after discovering the latter.
Jul
16
comment Move files and delete directories with rsync?
I just feel compelled to add, never use -delete and --remove-source-files in a single rsync command (the above examples are fine, this is tangential). If you interrupt then re-execute what I'm describing, you'll lose transferred files. Which I've done before :(
Jun
16
awarded  Popular Question
Apr
21
awarded  Yearling
Jan
12
accepted netcat echo server - possible with pipes instead of commands as strings?
Dec
20
awarded  Critic
Dec
20
awarded  Teacher
Dec
20
answered Convert output of tree command to json format
Nov
24
revised How to read from a named pipe after the writer process exits?
edited tags
Nov
20
revised How to read from a named pipe after the writer process exits?
Explanation of &!
Nov
20
comment How to read from a named pipe after the writer process exits?
Answer to my own followup question: &!
Nov
20
suggested approved edit on How to read from a named pipe after the writer process exits?
Nov
20
revised How to read from a named pipe after the writer process exits?
added 8 characters in body
Nov
20
accepted How to read from a named pipe after the writer process exits?
Nov
20
comment How to read from a named pipe after the writer process exits?
Ooops, ignore that last post. It works. Thank you :)