Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the cmd to display the last exit status in UNIX?

Answers were Sorted based on User's Feedback



what is the cmd to display the last exit status in UNIX?..

Answer / arvind kumar

echo $? will give you status og last command.

Is This Answer Correct ?    18 Yes 0 No

what is the cmd to display the last exit status in UNIX?..

Answer / siva

Try this command

$?

Is This Answer Correct ?    11 Yes 2 No

what is the cmd to display the last exit status in UNIX?..

Answer / arjun

$? it will give the status of the previous command
it will give 0(zero) last command is successful else it will
give any non-zero character.

Is This Answer Correct ?    6 Yes 0 No

what is the cmd to display the last exit status in UNIX?..

Answer / arun kumrr

echo $?

Is This Answer Correct ?    4 Yes 0 No

what is the cmd to display the last exit status in UNIX?..

Answer / kk11749

$?

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More Unix Commands Interview Questions

What is $0 bash?

0 Answers  


Which command will you use to change the permissions on file?

7 Answers  


What is the unix command to confirm a remote host is alive or not?

0 Answers  


what is the difference between relative path and absolute path?

7 Answers  


what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


What is the difference between pipe and xargs?

2 Answers   Amazon, CTS,


What is the use of awk command in unix?

0 Answers  


what is the significance of "su" command?

3 Answers  


What is the use of pipes?

4 Answers  


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


How do you create a file in UNIX

36 Answers   Accenture, EMG, Nokia, QA, TD,


Categories