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 can you execute the shell scripts?

Answers were Sorted based on User's Feedback



how can you execute the shell scripts?..

Answer / chandru

If the path variable does not contain ur current
directory,then you can execute the script by giving
$./scriptname
If you include your current directory in path variable then
$scriptname

or
If u want to invoke new shell
$ ksh scriptname

Is This Answer Correct ?    3 Yes 1 No

how can you execute the shell scripts?..

Answer / manhar chavan

sh File_Name.sh
then press enter

Is This Answer Correct ?    2 Yes 0 No

how can you execute the shell scripts?..

Answer / pschavan

Script with extension ".sh" or ".ksh" can be excecuted on
command line.

e.g abc.sh or abc.ksh

Is This Answer Correct ?    3 Yes 4 No

how can you execute the shell scripts?..

Answer / green gene

Step 1. Include an #!<full path to an interpreter>
Step 2. chmod {u,g,o,a}+x <filename>
Step 3. offer blindfold
Step 4. offer last cigarette
Step 5. execute.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Shell Script Interview Questions

Is shell and terminal the same?

0 Answers  


How do I run a script on mac?

0 Answers  


Explain about stdin, stdout and stderr?

0 Answers  


A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file.

2 Answers   Wipro,


How do I open the shell prompt?

0 Answers  


Why are shell scripts used?

0 Answers  


What are the advantages of shell scripting?

0 Answers  


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

2 Answers  


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

0 Answers  


How to find all the files modified in less than 3 days and save the record in a text file?

0 Answers  


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

0 Answers  


What is a shell in operating system?

0 Answers  


Categories