10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am writing a shell script where I am sourcing other shell script in that script I have mention exit 0 due to that it is not continue the first script. Except doing any changes to source script is there any way I can continue the my first script. (3 Replies)
Discussion started by: sonujatav
2. Shell Programming and Scripting
i want to pop up an alert box using perl script. my requirement is.
i am using a html page which calls a perl script. this perl script calls a shell script.. after the shell script ends its execution, i am using exit 0 to terminate the shell script successfully and exit 1 to terminate the... (3 Replies)
Discussion started by: Little
3. Shell Programming and Scripting
How can I exit from the shell script if a condition is not met?
Thanks in advance... (2 Replies)
Discussion started by: Phuti
4. Shell Programming and Scripting
I have a script that I need to terminate or exit the shell or session completely for the user but the exit only exit from the script and takes the user to the shell
I found this
saying that... (1 Reply)
Discussion started by: kopper
5. Shell Programming and Scripting
I need help in the following script. I want to grep the sql errors insert into the error table and exit the shell script if there is any error, otherwise keep running the scripts.
Here is my script
set user = $USER
set pass = $PASS
echo... (2 Replies)
Discussion started by: allinshell99
6. Shell Programming and Scripting
How to do a normal exit from .SH program (1 Reply)
Discussion started by: 1manraj1
7. Shell Programming and Scripting
I am unable to exit from a shell script using the below code:
echo "Password validated"
echo "Wrong password Quiting the application..."
exit 0#not working
(Note:"finalresult" passed to the passchk... (2 Replies)
Discussion started by: Sreejith_VK
8. Shell Programming and Scripting
could somebody tell me please how to exit a shell script:
echo "No arguments detected"
echo "still there" # is displayed .. :-( (4 Replies)
Discussion started by: sami98
9. Shell Programming and Scripting
I have tried to put a exit 0 statement within a function I have created in the shell script but it doesn't seem to exit out of the script? Can someone tell me why? And is there any other way to exit out of the script from within a function?
Thanks! (1 Reply)
Discussion started by: nvrh7
10. UNIX for Dummies Questions & Answers
Can it be done? If so, how? I would like a script to contain the exit command, and log me off at script completion.
thanks (1 Reply)
Discussion started by: jpprial