what is this line in the shell script do ?#!/bin/ksh
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What are environment variables?
How do I set bash as default shell mac?
How do I run a shell script on a mac?
What is k shell?
What are the default permissions of a file when it is created?
What is shell company all about?
What is a shell in operating system?
How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.
What is shell scripting?
How to calculate the number of passed arguments?
What is the difference between break and continue commands?
What is shift command in shell script?