Nitish Bezzala's Blog
Sunday, February 2, 2014
bash tips
Check if the last command you ran was successful
echo $?
If it returns 0, the command completed successfully. 1 means, it errored out.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment