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 sudo command?
What is difference between bash and shell?
write a shell script to check whether all the directories in the path exist has read and write permission
What is console line?
if i have 2 files file1 and file2.... file1 contains 2 columns like b a 11 aa 12 as 13 ad 15 ag 11 ar 13 ah 15 ak file2 contains b c 10 ds 11 at 15 gh 15 jk 13 iu 11 fg 13 yy can any 1 give me the program to display in this way? a b c aa 11 at ar 11 fg ad 13 iu ah 13 yy ag 15 gh ak 15 jk
How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"
what are bootlevel in linux?which level is booting by default.
Can shell script run on windows?
How to include comments in your shell scripts?
How to get the last line from a file using just the terminal?
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?
What are zombie processes?