What would be the output of the echo command?

You execute the following two commands at the bash prompt in the same order as shown below:

[root@station2]# myexpr=$((14*18))
[root@station2]# echo $((56+$myexpr))
What would be the output of the echo command?

You execute the following two commands at the bash prompt in the same order as shown below:

[root@station2]# myexpr=$((14*18))
[root@station2]# echo $((56+$myexpr))
What would be the output of the echo command?

A.
56

B.
308

C.
252

D.
$myexpr

E.
$((56+$myexpr))

Explanation:



Leave a Reply 0

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