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

How do I search for text in vi?

1048


What are grep patterns?

1088


Explain command to view process running?

1139


Describe the zip/unzip command using gzip.

1162


What is sed awk grep?

1139


How many unix commands are there?

1158


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1317


How does pipe () work?

1099


What are bash commands?

1169


What are reported commands?

1134


What does touch command do in unix?

1432


What are awk commands?

1163


Which command will print your home directory on screen?

1086


What is unix command line?

1265


What is a bash command?

1183