what is this line in the shell script do ?#!/bin/ksh

Answers were Sorted based on User's Feedback



what is this line in the shell script do ?#!/bin/ksh..

Answer / satchi

to execute the commands in a script using "ksh" shell.

Is This Answer Correct ?    13 Yes 0 No

what is this line in the shell script do ?#!/bin/ksh..

Answer / seshadri sethi

To invoke the shell indirectly this line is added as the
first line in the file.This particular line invokes korn shell

Is This Answer Correct ?    8 Yes 1 No

what is this line in the shell script do ?#!/bin/ksh..

Answer / venkatgiri t

/bin/ksh denotes the place where all the commands source
code is stored. Hence when ever we run command, the
commands referred from their.

Is This Answer Correct ?    6 Yes 1 No

what is this line in the shell script do ?#!/bin/ksh..

Answer / satyabrata

A)it give the path of shell and where the shell script will
run.
B) it gives the name of which shell you are working

Is This Answer Correct ?    5 Yes 1 No

what is this line in the shell script do ?#!/bin/ksh..

Answer / him

It specifies that shell script will execute under ksh shell
Bsically this first line of shell script specifies the path
of interpreter that will interprete the shell script.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Shell Script Interview Questions

How do you read arguments in a shell program - $1, $2 ..?

4 Answers  


What is wc in shell script?

0 Answers  


How to get script name inside a script?

0 Answers  


Which scripting language is best for automation?

0 Answers  


How to print all array elements and their respective indexes?

0 Answers  






What is the first line in a shell script?

0 Answers  


Write a shell script to looking at the log file to see if the test has passed or not

2 Answers   TCS,


How do we create command aliases in a shell?

0 Answers  


How can I Debug a shell scripts and Perl scripting?? or How do you debug a shell scripting and perl scripting ( at the compile time error or run time error) in Unix environment ?

4 Answers  


What are the three main forms of enabling debugging in a shell script?

6 Answers   ADC, Wipro,


What's the difference between scripting and coding?

0 Answers  


What does chmod do?

0 Answers  


Categories