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 is the significance of $#?
How to set an array in linux?
What are the advantages of shell scripting?
How does shell scripting work?
Create a bash shell script that reads a line from the user consisting of 5 words and then prints them out in reverse order. Name this script "reverse.sh"
In which variable prompt value is stored?
How do I set bash as default shell mac?
c program to display the information of given file similar to givan by the unix or linux command ls -l
How do I run a shell script in powershell?
How do I run a .sh file on mac?
How would you compare the strings in a shell script?
How to rename all the files in a folder having specific extension? Example: I have some files with extension (.txt) in a folder name 'Test'. I have to rename all the .txt files in a test and its subdirectories to .my extension.