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 |
What is the use of find command in unix?
How to setup sudo, only can use for particular date & time only ( for solaris10 )
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
What are awk commands?
distinguish between user mode and kernel mode?
what are the differences between CUI and GUI interfaces?
52 Answers College School Exams Tests, HCL, HP, IBM, IBMR, NIIT, Talco, Wipro,
How do you move a process which is running background to foreground?
what are the different commands used to view the contents of a file?
What are filter commands in unix?
What is shrinking file system in AIX where it actually resides?
Explain the steps that a shell follows while processing a command.
How do you grep a case insensitive?