Multiple choice technology operating systems

Which of these is a Boolean logic operators in shell scritping?

    • !
    • a
    • o
  1. All of the above

  2. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In shell scripting, ! (NOT), -a (AND), and -o (OR) are Boolean logic operators used for conditional tests. The -a and -o operators work within test constructs, while ! can also be used independently. Modern bash also supports && and || for complex conditions.