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 |
How do I open a port?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
What is the functionality of a top command?
what is tar command and what are the different types of tar commands?
What is the difference between AWK and SED commands? Plz give example and explain...
What is pipe command in unix?
How to find $ai_serual resolved path by using unix
What are awk commands?
Which command is used to delete all files in the current directory and all its sub-directories?
What is file system in unix??
What difference between cmp and diff commands?
what do you understand bythe term 'de-mountable volumes'?