Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What can scripts do?

1102


What is the use of .sh file?

1122


What is awk in shell scripting?

1026


What is the syntax of "nested if statement" in shell scripting?

1099


What is a scripting language simple definition?

1100


Which scripting language is best for automation?

960


Explain about debugging?

1025


What is scripting autism?

1215


What is shell chemistry?

982


What is a shell script in windows?

1089


How would you compare the strings in a shell script?

984


What is the use of "$#" in shell scripting?

1068


What is the first line of a shell script called?

1089


How do I open a jshell in cmd?

1248


What is wc in shell script?

984