Explain about the exit command?



Explain about the exit command?..

Answer / Shivani Singh

The exit command in a shell script terminates the execution of the script and returns a status code to its parent process. The return code can indicate whether the script executed successfully or encountered errors.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?

1 Answers  


What is Path variable?What is its use?

1 Answers  


What are the different methods available to run a shell script?

2 Answers  


How to debug the problems encountered in the shell script/program?

1 Answers  


How will you copy a file from one machine to other?

1 Answers  


how did u debugging in unix/ linux platform ??( project Related)

2 Answers   Symphony,


Is shell and terminal the same?

1 Answers  


Explain about non-login shell files?

1 Answers  


What is the use of "$#" in shell scripting?

1 Answers  


what is "umask"?

6 Answers   Wipro,


How do I run a powershell script?

1 Answers  


How many prompts are available in a UNIX system?

1 Answers  


Categories