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 |
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.
Which command is used to delete all files in the current directory and all its sub-directories?
Explain command to display different lines that are found when compare two files?
Give Command that will move a single file called "unix.txt"
what is the command to get help on a UNIX terminal?
what are the different commands used to view the contents of a file?
Write a command to find all of the files which have been accessed within the last 30 days.
what is the command to print last 8 lines of any text file.
why unix operating system provides more security than other operating systems?
Who wrote grep?
can we use cat command as an editor ..???
what do you understand by 'building block primitive'?