What is the difference between running a script as
./scriptname.sh and sh scriptname.sh
Answer / vidhu
while running the script using this "./" script run from
curent location we have to give executable permision to the
script file
By default file contains 644 permissions there is no
execute permission while running it shows error
use `chmod` to give execute permission and run
where as "sh" it runs the script with the help of default
shell
Is This Answer Correct ? | 5 Yes | 4 No |
what are bootlevel in linux?which level is booting by default.
What is web script?
How to group the commands in shell scripting?
What is egrep?
How important is shell scripting?
What is gui scripting?
How would you print just the 25th line in a file using smallest shell script?
What is a batch file used for?
What is the first line of a shell script called?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
How Connect to a Database in Shell Programming?
Which scripting language is best for automation?