|
-
-bash: command not found Assistance Needed
I have a shell script below that produces the following error:
-bash: rotateLogs: command not found
Can you tell me what might be the problem? Thanks.
#!/bin/sh
cd /usr/local/apache/logs
cat access_log > access_log.prior-month ; cat /dev/null > access_log
cat error_log > error_log.prior-month ; cat /dev/null > error_log
Last edited by devel95; 01-15-2009 at 10:29 AM.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks