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

Why is a script important?

0 Answers  


What does it mean to debug a script?

0 Answers  


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  


Why is shell scripting important?

0 Answers  


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

0 Answers  






There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.

1 Answers   Wipro,


How to customise the existing shell?

1 Answers  


Is SSO and SSL support BOXI?

2 Answers  


What are the types of script?

0 Answers  


How does ls command work?

0 Answers  


What is another name for a bash shell script that you might see?

0 Answers  


Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?

0 Answers   TCS,


Categories