Question from the Bash - Fundamentals test

Write a Bash script that prints 3.

Hard

What does the following script return (disregarding possible errors)?

var=1 2>/dev/null
var=$var + 1 2>/dev/null
echo $var + 1 2>/dev/null
Author: titouan lecampStatus: PublishedQuestion passed 209 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!