Linux Bash Arithmetic Expressions Question:
Download Questions PDF

Which one of the following is not a valid operator in bash shell?
a) ||
b) ~
c) =<<
d) -=

Linux Bash Arithmetic Expressions Interview Question
Linux Bash Arithmetic Expressions Interview Question

Answer:

c) =<<

Download Linux Bash Arithmetic Expressions Interview Questions And Answers PDF

Previous QuestionNext Question
Which one of the following is bit-wise 'exclusive or' operator?
a) ^=
b) |=
c) !=
d) none of the mentioned
What is the output of this program?
If:
1) #!/bin/bash
2) a=2
3) b=4
4) let c=a**b
5) echo $c
6) exit 0

Options:
a) 8
b) 16
c) 32
d) none of the mentioned