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 does debug script mean?

0 Answers  


Explain about the exit command?

0 Answers  


Given a file find the count of lines containing the word "abc".

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


How do I stop script errors?

0 Answers  


The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on

2 Answers   Caritor,


What are the zombie processes?

0 Answers  


write a shell script to check whether all the directories in the path exist has read and write permission

1 Answers  


How can I send a mail with a compressed file as an attachment?

0 Answers  


How does path variable work?

0 Answers  


Explain about shebang?

0 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  


Categories