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
Explain command to view process running?
How do I use nslookup?
What do chgrp command do?
What command is used to switching between users in unix?
Is command prompt unix?
What does the command ' $who | sort –logfile > newfile' do?
How do I clear my terminal history?
What is the use of awk command in unix?
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 command will change your prompt to myprompt?
What is the functionality of a top command?
What is the difference between awk and grep?
Who command in unix?
What is ‘ps’ command for?