Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash run multiple commands

A; B    # Run A and then B, regardless of success of A
A && B  # Run B if and only if A succeeded
A || B  # Run B if and only if A failed
A &     # Run A in background.
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #bash #run #multiple #commands
ADD COMMENT
Topic
Name
8+5 =