Linux Tips
Saturday, August 5, 2017
Run multiple command together
command1 && command2
run command2 only if command1 is success
command1 || command2
run command2 only if command1 failed.
command1 ; command2
run command2 after command1 no matter what happen to command1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment