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
What is updatedb?
What does grep v grep do?
Which unix command to make a new directory?
How do I run a bash script?
How do I search a whole word in vim?
What is the search command in unix?
What is the difference between cat command and more command?
What is the use of finger command?
What does the “echo” command do?
Using unix command how to display no of records in oracle?
Who command in unix?
What do know about tee command and its usage?
How do I search for text in vi?
Are you in or at the office?
What is the unix command to confirm a remote host is alive or not?