![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A simple find and replace without using any regex (bash) | srikanths | Shell Programming and Scripting | 2 | 03-18-2008 05:08 AM |
| Simple BASH script? | JayC89 | Shell Programming and Scripting | 16 | 10-02-2007 04:23 PM |
| Simple date and time calulation in BASH | ripat | Tips and Tutorials | 0 | 10-08-2006 03:15 AM |
| Simple bash for loop problem | kingdbag | Shell Programming and Scripting | 4 | 09-14-2006 10:00 PM |
| simple bash script to ftp? | satnamx | Shell Programming and Scripting | 1 | 04-21-2006 08:18 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Simple Bash Script
I'm sure I'm doing something wrong but as I am new to bash shell scripting I'm not sure what:
Here's the code Quote:
Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Quote:
Also since this is a launch script I could consider using "exec" at the start of the last line, once it's launched you only need the webalizer process,not the script. |
|
#3
|
|||
|
|||
|
Yeah I tried adding the paths and not adding the paths. (/bin/date and /usr/bin/webalizer). I changed the file from .sh to just webalizer and made it rwe for user. Either way I get command not found. command not found. command not found. Any suggestions?
|
|
#4
|
|||
|
|||
|
I added exec to the last line. Now I get... file cannot be opened on the log. So I chmoded it to 0777 and samething. Ughh! Any suggestions would be great! Of course what ever I work out for cronolog and webalizer will be posted....
Tanks |
|||
| Google The UNIX and Linux Forums |