Question: What is this line in the shell script do ???
#!/bin/ksh
Answer: This line is called as "Hash Bang" Statement. This tells the OS that the particular needs the respective shell for execution. If a script file has this hash bang statement along with execution permission, then this file can be run directly without invoking thru shell command.Ex:$ instead of$ksh
Question:
What is this line in the shell script do ???
#!/bin/ksh
Answer:
This line is called as "Hash Bang" Statement. This tells the OS that the particular needs the respective shell for execution. If a script file has this hash bang statement along with execution permission, then this file can be run directly without invoking thru shell command.Ex:$ instead of$ksh Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.
Related Questions
View Answer
What is use of "cut" command ??? give some examples. can we use "awk" or "sed" instead of "cut" ??? if yes then give some examples