what is the meaning of First line of shell script ,what is
meaning of #! pleas explain brifly
Answers were Sorted based on User's Feedback
Answer / alpkumar
#! indicates from where the path of the interpretor should
be considered and also directs that the contents of the
file which will be following will be executed under the
guidelines of this interpretor being used.
Is This Answer Correct ? | 30 Yes | 1 No |
Answer / shivani
It tells u that which is the shell whose interpreter would
come into action for the execution of that particular
script.
Is This Answer Correct ? | 15 Yes | 3 No |
Answer / r r mishra
#!/bin/sh. which dictates that the following program is a
shell script,
Is This Answer Correct ? | 21 Yes | 13 No |
What is the use of a shebang line?
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What is scripting used for?
What is difference between shell and bash scripting?
How do I run a powershell script?
What does .sh file contain?
Why do we use shell scripting?
What is bash coding?
Write a command sequence to find the count of each word?
How to include comments in your shell scripts?
Explain about login shell?
How to write a function?