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 the types of script?
What are the 4 basics of OOP?
What is c in shell script?
What is the lifespan of a variable inside a shell script?
What is the use of "$#" in shell scripting?
What is scripting autism?
What is an inode block?
Is shell a part of kernel?
Why is a script important?
What is the use of "$?" Sign in shell script?
How do you schedule a command to run at 4:00 every morning?
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"