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

What does the command ' $who | sort –logfile > newfile' do?

1270


What are the dos commands?

1255


Can you explain a little bit about command substitution?

1110


What do know about tee command and its usage?

1173


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

1253


What is the function of grep command in unix?

1174


What is the nmap command?

1177


Which unix command lists files/folders in alphabetical order?

1742


What is the command to view process running?

1104


How does the system know where one command ends and another begins?

2247


What is the use of sed command in unix?

1197


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1229


What are grep patterns?

1080


What is awk good for?

1134


What does pipe () return?

1069