Results 1 to 5 of 5

Thread: -bash: command not found Assistance Needed

Threaded View

  1. #1
    Join Date
    Apr 2008

    -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.

    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 11: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
HTML5 Development Center