what is the cmd to display the last exit status in UNIX?
Answers were Sorted based on User's Feedback
Answer / arvind kumar
echo $? will give you status og last command.
Is This Answer Correct ? | 18 Yes | 0 No |
Answer / 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 |
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
What is the difference between AWK and SED commands? Plz give example and explain...
how to delete entire records in unix ?
How to see unused port number in Solaris?
What do chgrp command do?
What is command substitution?
Give Command that will change the name of a directly from paypal to eBay
What is awk used for?
Which RAID Levels supported by LVM?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?
What is an Environment Variable?
What do know about tee command?