what is the cmd to display the last exit status in UNIX?
Answers were Sorted based on User's Feedback
Answer / arvind kumar
echo $? will give you status og last command.
Is This Answer Correct ? | 18 Yes | 0 No |
Answer / 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 |
why metadb requires a seperate slice to create Solaris volume manager
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
How would you change all occurrences of a value using VI?
What is grep command in unix with examples?
How will you know who are the users logged in to the system before 15 minutes?
Can you write a command to erase all files in the current directory including all its sub-directories?
what is the cmd to display the last exit status in UNIX?
in a growing log file how will you see the 1st 99 lines?
How can you change the owner or group of a file?
In UNIX, what is the command to kill a process?
write grep commands to select the lines that have exactly two characters
what is the difference between relative path and absolute path?