This is a discussion on running .sh script linux within the Shell scripting forums, part of the Development/Scripting category; Hi all, I have a script called start.sh, how do I run this shell script? Sorry I am new and ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Hi all,
I have a script called start.sh, how do I run this shell script? Sorry I am new and don't know much about shell script. I read somewhere i need to set up some permission before i run the script. Please help regards Jo |
| Sponsored Links | ||
|
|
|
|||
|
never mind guys I found the solution. First I type the chmod command to change file access permissions to executable
Code:
chmod +x script.sh Code:
./script.sh Code:
bash script.sh Code:
sh script.sh |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Setting up RAID 1 mirroring on a running remote Linux system | sweta | Getting started tutorials | 9 | 09-22-2008 06:04 PM |
| Getting Squid 3.0 up and running | Mic | Linux software | 4 | 05-18-2008 04:56 PM |
| List Services Linux Running | raj | Getting started tutorials | 4 | 03-28-2008 04:55 PM |
| start up and stop the running script | mala_un | Shell scripting | 9 | 07-26-2006 08:10 AM |
| required help for running a shell script from browser | vaishalichitale | Shell scripting | 1 | 06-27-2006 05:53 PM |