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 is shift command in shell script?
Is shell scripting a language?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
What is the syntax of while loop in shell scripting?
How to use arguments in a script?
How do you find out What is your shell?
How do I debug a shell script?
Differentiate between ‘ and ” quotes.
what is tickets $ what low,medium,high priorite pls define time also
How do I save a powershell script?
What are the different commands available to check the disk usage?
What is shell prompt?
Is shell scripting easy to learn?
What are different types of shell?
Is cmd a shell?