What are the different methods available to run a shell
script?
Answer Posted / keerthi
3 ways
1. sh scriptname.sh
2. If the script has execute permission -
./script.sh
3. If the script has execute permission and is
stored in the directory listed in PATH ----
script.sh or .script.sh
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What lives in a shell?
What is the difference between bash and shell?
Explain about echo command?
How does path variable work?
Explain about non-login shell files?
How to debug the problems encountered in the shell script/program?
How do I start a shell script?
What exactly is a shell?
What is the significance of $#?
Which scripting language is best for automation?
What are the zombie processes?
What is the difference between scripting and coding?
What is a program shell?
How do I open the shell prompt?
What is a scripting language simple definition?