script is like
x=10;
y=20;
[$x-ne$y];
echo $
please give me output.
Answers were Sorted based on User's Feedback
Answer / srikanth
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.
Is This Answer Correct ? | 14 Yes | 0 No |
what is "ls* " is run options are 1) x 2).x 3) hidden 4) no disply tell exact answer.
What is ls command and what it does?
What is the command to see on which port which service is running?
script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
What are the basic command in linux?
What does chmod 755 do?
What is an os command?
what is Bourne shell.
1 Answers Google, HCL, Infosys,
you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.
what is the diff b/w ext2 and ext3?
I want to kill zombie process, but with using kill 9 i cannot kill that process? can u tell other commands?
What is the use of ls command?