What are the different methods available to run a shell
script?
Answer Posted / keerthi
3 ways
1. sh scriptname.sh
2. If the script has execute permission -
./script.sh
3. If the script has execute permission and is
stored in the directory listed in PATH ----
script.sh or .script.sh
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is ms powershell?
Is bash a shell script?
What does path stand for?
What are the two files of crontab command?
What is a program shell?
Explain about gui scripting?
What is batch file programming?
What is .sh file in mac?
What does $@ mean in shell?
write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
What is the use of "$#" in shell scripting?
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
How to print pid of the current shell?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.