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
What is awk used for?
What is the behavioural difference between cmp and diff commands?
What command is used to switching between users in unix?
How do I find previous commands in unix?
What does awk stand for?
What do know about tee command and its usage?
How do I use nslookup?
Which command is used to kill the last background job?
How can you see the command line history?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What are the commands in UNIX to list the files in a Directory?
Which command is used to find whether the system is 32 bit or 64 bit?
How can we use grep command in unix?
What is the use of sed command in unix?
Which command is used to copy files?