what is the cmd to display the last exit status in UNIX?
Answer Posted / 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 |
Post New Answer View All Answers
How do I run a whois command?
What is the function of grep command in unix?
What is unix command?
Differentiate cmp command from diff command.
How to use grep command to list find the records of a file containing 10 different strings?
How many unix commands are there?
What is rmdir command?
What are reported commands?
Differentiate cat command from more command.
Describe the zip/unzip command using gzip.
What is the general format of unix command syntax?
What are the general commands in using unix os for a beginner?
What is the first character of the output in ls l command?
What is the size of time_t?
What is ctrl d?