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 search for a file in unix command?

546


What are grep patterns?

575


Who wrote grep?

579


What is the function of grep command in unix?

586


What is the unix command to confirm a remote host is alive or not?

579






What is the command to find hidden files in the current directory?

579


What is unix command line?

606


How to find $ai_serual resolved path by using unix

1024


How do I run a bash script?

580


What is .sh file?

616


what is the advaantage of each user having its own copy of the shell?

2034


What is grep r?

591


What do chmod, chown, chgrp commands do?

634


What is the search command in unix?

599


What is grep in bash?

586