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 |
How will you find the 99th line of a file using only tail and head command?
How to sort a result of Ls -l command based on columns. Ex. i want to sort 5th column from output of ls -l command.
How do I edit a .sh file?
How can I set the default rwx permission to all users on every file which is created in the current shell?
What is another name for a bash shell script that you might see?
What is the use of "test" command?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?
is this growing field and what is average package in this?
How to write a function?
What are the advantages of shell script?
What is the crontab?