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
How do I search for text in vi?
What are grep patterns?
Explain command to view process running?
Describe the zip/unzip command using gzip.
What is sed awk grep?
How many unix commands are there?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
How does pipe () work?
What are bash commands?
What are reported commands?
What does touch command do in unix?
What are awk commands?
Which command will print your home directory on screen?
What is unix command line?
What is a bash command?