Answer Posted / chandru
If the path variable does not contain ur current
directory,then you can execute the script by giving
$./scriptname
If you include your current directory in path variable then
$scriptname
or
If u want to invoke new shell
$ ksh scriptname
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why are there shells on the beach?
What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
What are "c" and "b" permission fields of a file?
How do I run a .sh file?
Why is the use of shell script?
What is a program shell?
What does chmod do?
Explain about shebang?
What are the disadvantages of shell scripting?
What is bash coding?
What are the advantages of shell script?
What is the best shell scripting language?
What is the use of echo in shell script?
What does sh mean?