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
What does the command ' $who | sort –logfile > newfile' do?
What are the dos commands?
Can you explain a little bit about command substitution?
What do know about tee command and its usage?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the function of grep command in unix?
What is the nmap command?
Which unix command lists files/folders in alphabetical order?
What is the command to view process running?
How does the system know where one command ends and another begins?
What is the use of sed command in unix?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What are grep patterns?
What is awk good for?
What does pipe () return?