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 |
How to open a read-only file in the shell?
Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.
How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?
Why do we write bin bash in shell scripts?
How would you replace the n character in a file with some xyz?
What is shell environment?
How can I send a mail with a compressed file as an attachment?
What are the different communication commands available in the shell?
What is bourne shell scripting?
How many prompts are available in a UNIX system?
What are the default permissions of a file when it is created?
How Connect to a Database in Shell Programming?