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 |
How do you remove a crontab file?
How do I open a port?
What does this command do,"$more readme.txt“?
What is grep and how do you use it?
The rm command removes links to file. What does this mean? How then is a file deleted from the file system?
What does the metacharacter mean?
what is the command to list all files in a directory, including the hidden files in UNIX ?
Describe the usage and functionality of the command rm –r * in unix?
How to install scsi driver in unix? give me explanation clearly?
What is the functionality of a top command?
What is the use of egrep command in unix?
How do you repeat a command in terminal?