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
