Logical and and logical or
Appearance
General
Syntax
statement1 && statement2 && statement3 && statement4 statement1 || statement2 || statement3 || statement4
Examples
- and and or work the same way
if [ -f file_one ] && [ -f file_two ] && [ -f file_three ] && [ -f file_four ]