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
Is it inbetween or in between?
What is the function of grep command in unix?
What is the comma to display different lines that are found when compare two files?
Why is awk called awk?
hw will u use awk in replacing cahrs and files
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the difference between awk and grep?
What is the use of sed command in unix?
What does the “echo” command do?
What does the metacharacter mean?
Why is it called a shebang?
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 unix command?
What does 'mkdir' command do in UNIX?
How do I search for text in vi?