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
Is shell a part of kernel?
What are the different commands available to check the disk usage?
Write a script to print the first 10 elements of fibonacci series.
i have 2 tables 4 colums table 1 respective values a1 6, a2 8,a3 9,a4 14 & table 2 respective values a1 6, a2 8, a3 9, a4 12. if compare 2 tables 3 colums values same then 4th column values 1)Qes diff >5 then (5 * diff value ) 2)Qes diff <5 the 5 3)Qes diff 5 then 5 print respective values..
Is shell script a programming language?
Please give me example of " at command , contrab command " how to use
what is tickets $ what low,medium,high priorite pls define time also
Where are cowrie shells found?
What is an inode block?
What does $@ mean bash?
What is the syntax of "nested if statement" in shell scripting?
I have 2 files and I want to print the records which are common to both.
What are the advantages of shell scripting?
What is option in shell script?
How does shell scripting work?