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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the pipe command?

1188


What do chown command do?

1183


What does this command do,"$more readme.txt“?

1155


How to display no of records in oracle using unix command?

1168


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1565


What is the use of find command in unix?

1149


What is the search command in unix?

1089


What do chmod command do?

1216


What command will change your prompt to myprompt?

1323


Is command prompt unix?

1150


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1217


What is awk command used for?

1225


Can you explain a little bit about command substitution?

1112


What is the general format of unix command syntax?

1933


Enumerate some of the most commonly used network commands in unix?

1162