runnig squid at boot up

Hi
Does any body know how i can run a program at bootup?
I have squid (cache server) installed on my PC but after boot up i should
run it manually but i want it to run automaticly is there a way?
I used to do it by entering the address ina file but i've forgotten it now.
But i remember that i had difficulty runnig a command at boot up this
is more importat cuz i should run ipchains to have transparant cache.

i'm using RedHat Linux 7.2

Thanx for your help

What *nix you are using ?

try man chkconfig (Redhat, mdk ...)

man update-rc.d (Debian)

I finally fount it out.

Here's the things I did:

in the directory /etc/rc.d/rc.local
you can add any command you want to be run when the system
reboots so i wrote:
/usr/local/squid/bin/squid

and it works