script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
The Question is like this Question: x=10; y=20; [ $x -ne $y ] echo $? Ans is 0, because the condition x value not equal to y value. It is true. so... that value is 0. If the conditions is false then it displays output 1.