ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Operating Systems  >>  Linux  >>  Linux Commands
 
 


 

 
 Linux Commands interview questions  Linux Commands Interview Questions
 Linux Threads interview questions  Linux Threads Interview Questions
 Linux IPC interview questions  Linux IPC Interview Questions
 Linux Socket Programming interview questions  Linux Socket Programming Interview Questions
 Linux System Calls interview questions  Linux System Calls Interview Questions
 Linux AllOther interview questions  Linux AllOther Interview Questions
Question
script is like 
x=10;
y=20;
[$x-ne$y];
echo $
please give me output.
 Question Submitted By :: Ravi148
I also faced this Question!!     Rank Answer Posted By  
 
  Re: script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
Answer
# 1
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 ?    1 Yes 0 No
Srikanth
 
  Re: script is like x=10; y=20; [$x-ne$y]; echo $ please give me output.
Answer
# 2
error: $ command not found.
 
Is This Answer Correct ?    0 Yes 1 No
Sureshreddy
 
 
 

 
 
 
Other Linux Commands Interview Questions
 
  Question Asked @ Answers
 
What does the top command display? Yahoo8
How you will uncompress the file? Linux3
what is mean by system calls Infotech2
What would you do when all the processess hangs and there is no other option in unix? HP1
what is the UID and GID of root user? Can a normal user can change the ownership of a file? what is the command to change ownership of a file? IPsoft2
My machine is running half duplex mode how to change half duplex to full duplex? Oracle1
what is "ls* " is run options are 1) x 2).x 3) hidden 4) no disply tell exact answer. Google3
how is "to run even after user logs out" Google1
I have Laptop. I want to assign DHCP ip address, but in my Laptop having Wireless and with wire NIC cards, it is possible to assign reserve ip address for both NIC card, but same host name? AOL1
what is command like " #(cd unixos; pwd) " tell me OUTPUT Google4
How do you find out the server processes running? HP2
what is the command To print script arguments Google2
how to create SAMBA server in fedora 9 linux ? Wipro1
How will retrieves incoming mails from different web sites HP2
how to add linux user to group?  6
what is jumbi process? Oracle6
1.what is Kernel parameters? 2.how many cpu have use in your machine? ConSim2
how to create a new file command Google8
How do find hard disk revolutions speed? HP1
How do you read ext2/3 file system in windows? HP3
 
For more Linux Commands Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com