Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jasonrojas
on Feb 26, 2011
|
parent
|
context
|
favorite
| on:
Ask HN: Help with BASH Scripting?
You want to check the exit code of the mysql insert before continuing, it's $? in bash. (basically a loop with an exit if $? != 0) More info on exit codes:
http://tldp.org/LDP/abs/html/exit-status.html
And bash scripting:
http://www.tldp.org/LDP/abs/html/
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: