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 will you run the script in UNIX?

Answers were Sorted based on User's Feedback



How will you run the script in UNIX?..

Answer / najib

./scriptfile (file should be executable) or . ./scriptfile
(force the file to be executed even if the file doesnt have
execute permission)

Is This Answer Correct ?    8 Yes 0 No

How will you run the script in UNIX?..

Answer / pankaj cheema

1. simple open the terminal.
2. if you make file in vi then type sh and a space and file
name as $sh pankaj.sh.

Is This Answer Correct ?    3 Yes 0 No

How will you run the script in UNIX?..

Answer / surendra bisht

actually first we have to change file permission to execute .

. to make file executable:

type
$chmod +x filename

. then for executing it :

type
$sh filename

Is This Answer Correct ?    3 Yes 0 No

How will you run the script in UNIX?..

Answer / hari

$sh file.sh

Is This Answer Correct ?    1 Yes 0 No

How will you run the script in UNIX?..

Answer / abhishek

it can also be done this way "bash scriptfile" or "csh
scriptfile"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix AllOther Interview Questions

Explain the read, write, and execute permissions on a UNIX directory.

1 Answers  


What are the files in /etc directory?

6 Answers   TCS, Wipro,


What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


What are each of the standard files and what are they normally associated with?

1 Answers   ITCO,


How do you list the files in an UNIX directory while also showing hidden files?

4 Answers  


What is the number of the masked code ee@?

2 Answers   Accenture, Amazon, Amdocs,


How to give root privileges without using SU/sudor ?

1 Answers  


What is a daemon?

6 Answers  


In this command sqlplus -s username/password what is -S and what's the use..???

1 Answers   TCS,


What does mknod do? What?s a named pipe?

1 Answers   Datamatics,


what is difference between milestone and run-levels in Solaris ?

0 Answers  


What is a filesystem?

3 Answers  


Categories