what is the cmd to display the last exit status in UNIX?

Answer Posted / siva

Try this command

$?

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to find a file?

808


What is command substitution?

884


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1017


What does 'mkdir' command do in UNIX?

909


What is pipe command in unix?

900


Is grep faster than awk?

745


What is awk used for?

831


Explain the steps that a shell follows while processing a command.

912


What does pipe () return?

778


What does sed command do in unix?

791


What are the general commands in using unix os for a beginner?

810


What is the first character of the output in ls l command?

868


What is the use of egrep command in unix?

830


Why is it called a shebang?

796


Explain command to view process running?

811