1,291 reputation
614
bio website mikelward.com
location Mountain View, CA
age 33
visits member for 4 years, 11 months
seen Apr 7 at 19:19

Computer guy from Australia now living in the US.

Part sysadmin, part developer, part web developer.

My name is pronounced like "Michael".


Dec
21
answered How to limit the users in LDAP to logon to a specific subset of Linux machines
Dec
21
answered Benefits of log rotation
Dec
21
answered How remove/de-index a page from Google?
Dec
21
revised tail -f and then exit on matching string
add subshell method, mention using sleep to avoid apparent race
Dec
21
comment tail -f and then exit on matching string
No problem! Glad to help.
Dec
21
awarded  Critic
Dec
21
answered hostname -f says “hostname: the specified hostname is invalid”. Guess why?
Dec
21
comment tail -f and then exit on matching string
Perhaps you saw an earlier draft I was editing. The above version takes 20 seconds, as shown by time ./test2.sh.
Dec
21
revised tail -f and then exit on matching string
added 3 characters in body; added 92 characters in body; added 244 characters in body
Dec
21
answered tail -f and then exit on matching string
Dec
21
answered On Ubuntu 10.04, should /etc/hostname contain the server's FQDN?
Dec
20
comment Bind and Open Ports
That sounds like a different problem. Make sure /etc/resolv.conf is correct. Probably best to create a new question if that doesn't help.
Dec
20
comment Please explain this BASH code (one line)
Dennis rightly pointed out that there is a difference is the case of var being set but null. Updated my answer to reflect that.
Dec
20
revised Please explain this BASH code (one line)
added 28 characters in body
Dec
20
revised Please explain this BASH code (one line)
correction about difference between ${parameter-word} and ${parameter:-word}; added 197 characters in body
Dec
20
comment Please explain this BASH code (one line)
Missed that part. Thanks Dennis. Will update the answer.
Dec
20
awarded  Commentator
Dec
20
comment Please explain this BASH code (one line)
Both are valid. ${var-default} is the old way from Bourne Shell days. ${var:-default} is specified by POSIX. Both work in bash.
Dec
20
comment Interface associated with route
"is this a safe assumption?" Might not be. The format is right, but you might have multiple default routes. (In that case I think the route with the lowest metric is used.)
Dec
20
answered Please explain this BASH code (one line)