I'm writing a small restore script and before I run the actual script I want to check if all commands work..
I want to check if alias is added correctly on mysql..
So if the command # mysql returns an error I want to write an error message and then exit the script
#!/bin/sh