Hi ya tink,
What I did after I wrote the script was this:
cd'd into the proper directory and chmod 754 for the file norton.sh
Then I did the following:
[root@ASUSA7V266-E software]# ls
Adaware.tar.gz MSConfig-Windows2000.tar.gz Soundblaster.tar.gz
Adobe.tar.gz MSOffice.tar.gz SystemCleaner.tar.gz
Cisco Configmaker.tar.gz NortonDefs tomsrtbt-2.0.103.tar.gz
gaim-0.72-1rh9.i386.rpm norton.sh Trillian.tar.gz
Intel.tar.gz Norton.tar.gz Trojan.tar.gz
LinuxUtilities.tar.gz PQMagic.tar.gz vnc-3.3.7-1.i386.rpm
lost+found putty.tar.gz VNCforWindows.tar.gz
MeayaPopupFilter.tar.gz Quicken.tar.gz vnc-linux.tar.gz
Moosoft.tar.gz RegCleaner.tar.gz
Mozilla.tar.gz Roxio.tar.gz
[root@ASUSA7V266-E software]#
[root@ASUSA7V266-E software]# norton
bash: norton: command not found
[root@ASUSA7V266-E software]# norton.sh
bash: norton.sh: command not found
[root@ASUSA7V266-E software]#
Obviously, I'm doing something wrong, and I know it's simple, I just don't know what to do to fix it so it will run as a script.
Here also is the script that I wrote:
--------------------------------------------------------------------------------------------------
# This shell script was written by Scott Pioso, with the help of Tinkster to
# allow network administrators to automate the downloading of Norton
# Anti-virus daily virus definition updates (Intelligent Updater)
# to be downloaded
# automatically to a linux server for distribution to clients running a
# graphical user interface from another well known GUI OS manufacturer.
# This script is freely distributable and the author claims no copyright
# or any other proprietary hold on it.
# You may freely modify or adjust this script as you see fit
#!/bin/bash
# This statement is the default directory that you should create on your
# Linux system. You may change this if you see fit.
cd /software/NortonDefs
# This next statement automatically will call the system to download the files
# necessary from the Norton.com website.
wget
http://securityresponse.symantec.com...es/US-N95.html
for getIt in 'awk -F'"' '/=.+\.(zip|exe)\>/ {print $2}' US-N95.html'
do
wget
http://securityresponse.symantec.com/$getIt
done
--------------------------------------------------------------------------------------------------
Thanks for your help again!