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 updatedb?

1000


What does grep v grep do?

1046


Which unix command to make a new directory?

1086


How do I run a bash script?

1143


How do I search a whole word in vim?

1144


What is the search command in unix?

1059


What is the difference between cat command and more command?

1148


What is the use of finger command?

1165


What does the “echo” command do?

1113


Using unix command how to display no of records in oracle?

1133


Who command in unix?

1102


What do know about tee command and its usage?

1144


How do I search for text in vi?

1003


Are you in or at the office?

1091


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

1164