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

What are the types of script?

0 Answers  


What are the 4 basics of OOP?

1 Answers   Amazon, Infosys,


What is c in shell script?

0 Answers  


What is the lifespan of a variable inside a shell script?

0 Answers  


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

0 Answers  






What is scripting autism?

0 Answers  


What is an inode block?

0 Answers  


Is shell a part of kernel?

0 Answers  


Why is a script important?

0 Answers  


What is the use of "$?" Sign in shell script?

0 Answers  


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

5 Answers   Wipro,


Create a bash shell script that reads in a number from the user. If the number is 1, print out the date. If the number is 2, list the files in the current directory. If the number is 3, print out who is currently logged onto the system. If the number is anything else, print out an error message and exit. Name this script "various.sh"

4 Answers  


Categories