Which three statements are true about the bash shell script’s capabilities and features?

Which three statements are true about the bash shell script’s capabilities and features?

Which three statements are true about the bash shell script’s capabilities and features?

A.
If the first line of the script begins with #!/bin/sh, then the sh shell program is unable to

interpret the script.

B.
The bash shell supports more than 10 command-line arguments.

C.
If test “SMYVAR” = prod and if [“SMYVAR” *= prod ] are equivalent ways to test the
value of the MYVAR variable in a shell script.

D.
The | | operator ensures that a command is run only if the command preceding the | |
operator fails.

E.
The s* shell variable holds the exit status of the last command executed in the
foreground.

F.
The && operator ensures that a command is run regardless of the outcome of the
command that preceded the && operator.



Leave a Reply 1

Your email address will not be published. Required fields are marked *