Combining commands Flashcards

1
Q

Invoke several commands in sequence on single command line?

A

command1; command2; command3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Invoke several commands in sequence but stop execution if any of them fails?

A

command1 && command2 && command3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Invoke several commands in sequence and stop as soon as one of them succeeds?

A

command1 || command2 || command3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly