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...


How to enable the shell to know what program should be run
to interpret the script?

Answers were Sorted based on User's Feedback



How to enable the shell to know what program should be run to interpret the script?..

Answer / tarun

The first line of any script shpuld specify the shell type
in which the script is run.
Syntax is
"#!/bin/xyz"
where xyz is the shell type in which the script must run.

As syntax in different shells vary so it is important to
make a global script.

Is This Answer Correct ?    3 Yes 0 No

How to enable the shell to know what program should be run to interpret the script?..

Answer / prav gir

$SHELL

Is This Answer Correct ?    1 Yes 0 No

How to enable the shell to know what program should be run to interpret the script?..

Answer / guest

by Using command ksh/csh

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

What is the crontab?

0 Answers  


What is scripting autism?

0 Answers  


Where cron file kept?

2 Answers   Tech Mahindra,


What are the various stages of a linux process it passes through?

0 Answers  


Suppose you execute a command using exec, what will be the status of your current process in the shell?

0 Answers  


How many prompts are available in a UNIX system?

1 Answers  


How to enable the shell to know what program should be run to interpret the script?

3 Answers  


Write the syntax for "if" conditionals in linux?

0 Answers  


what is the difference between cmp and diff commands

2 Answers   Amazon, CTS,


How to make userdefined variables to available for all other shells?

4 Answers  


How do you schedule a command to run at 4:00 every morning?

5 Answers   Wipro,


What can scripts do?

0 Answers  


Categories