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

How do I open a port?

0 Answers  


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


What is the functionality of a top command?

0 Answers   Amazon,


what is tar command and what are the different types of tar commands?

5 Answers  


What is the difference between AWK and SED commands? Plz give example and explain...

3 Answers   RBS,


What is pipe command in unix?

0 Answers  


How to find $ai_serual resolved path by using unix

0 Answers  


What are awk commands?

0 Answers  


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


What is file system in unix??

10 Answers   Symphony,


What difference between cmp and diff commands?

0 Answers  


what do you understand bythe term 'de-mountable volumes'?

2 Answers   Infosys,


Categories