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 grep short for?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is .sh file?
What is the difference between awk and grep?
Which command can you use to find the currently running process in unix server?
Write a command to display a file’s contents in various formats?
What is grep and how do you use it?
Name the general commands in using unix os for a beginner?
What does awk stand for?
What do chown command do?
What are the differences among a system call, a library function, and a unix command?
Differentiate cmp command from diff command.
What are bash commands?
What are the commands in UNIX to list the files in a Directory?
Why is awk called awk?