put the command "vi /etc/squid/squid.conf" in the script and put the script in one of the path folders like /bin /sbin /usr/bin /usr/sbin etc.... name the script as you wish... On Mon, 18 Dec 2006, kashif Mazhar wrote: > Hey, > I want to write a script to VI squid.conf from anypath in my > linux box, right now i need to go to /etc/squid, then i can open > squid.conf. but i want to open it from anywhere , i know there is a > script but i lost it, please help me out. > > Regards, > -- Manoj Rajkarnikar System Administrator Vianet Communications Pvt Ltd Pulchowk, Lalitpur, Nepal. (PH)977-1-5546410