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 / arvind kumar

echo $? will give you status og last command.

Is This Answer Correct ?    18 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to sort the content of the file based on numeric values

1742


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

1280


What is time_t?

1076


How can you see the command line history?

1103


Is grep faster than awk?

1007


What is the use of the tee command?

1071


Enlist some filename manipulation commands in unix.

1114


How do I find previous commands in unix?

1143


What command is used to switching between users in unix?

1049


How do I delete files from command prompt?

1170


What does the “echo” command do?

1113


What is the first character of the output in ls l command?

1181


What is the use of finger command?

1165


Explain how to use grep command to list find the records of a file containing 10 different strings?

1033


What does touch command do in unix?

1365