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 is ms powershell?
What is a shell script in windows?
How do I run a powershell script?
Give some situations where typing error can destroy a program?
Explain about gui scripting?
How will you emulate wc –l using awk?
Explain about shebang?
What is sh in shell script?
How do you know which shell I am using?
What is console line?
Given a file find the count of lines containing the word "abc".
shell script for reverse the string
How do I read a .sh file?
What is the command to find out users on the system?
What language is used in terminal?