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 are the linux boot files?
What is the difference between clang and llvm?
What is ulimit command?
what is a command to display top 10 users who are using Huge Space?
How do you check which file consuming more space in linux?
What is the command to list ALL (hidden also) files of current directory & it’s subdirectories?
Why ms dos is used?
When u comment the ctrl+alt+del trap in the /etc/inittab save the file. Tell the command to save the changes without rebooting the machine?
Did you work with linux? What flavors and versions?
What is $@ in makefile?
What is the gcc command?
which command is used to see all the system configuration? like hardware, HDD, memory etc.
14 Answers ADS, eClinicalWorks, NJN,