What are the different methods available to run a shell
script?
Answer Posted / sujitha
3 ways
1. Execute Shell Script using File name
$./scriptfile { The changes in the script effect to current
terminal }
2 . Execute Shell Script by specifying the interpreter
$sh scriptfile
3. Execute Shell script using ../ (dot space dot slash)
$. ./scriptfile { The changes in the script effect to total
system }
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What can scripts do?
What is the use of .sh file?
What is awk in shell scripting?
What is the syntax of "nested if statement" in shell scripting?
What is a scripting language simple definition?
Which scripting language is best for automation?
Explain about debugging?
What is scripting autism?
What is shell chemistry?
What is a shell script in windows?
How would you compare the strings in a shell script?
What is the use of "$#" in shell scripting?
What is the first line of a shell script called?
How do I open a jshell in cmd?
What is wc in shell script?