Search squid archive

Re: VI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



write a script called i_want_to_open_squid_conf_from_anywhere.sh
with the following content (dont include the dashes) and put it
into /usr/bin or /usr/local/bin:

---------------------------
#!/bin/sh
vi /etc/squid/squid.conf
---------------------------

Now you can easily open squid.conf from anywhere by simply calling
i_want_to_open_squid_conf_from_anywhere.sh

Best regards
-stefan-

:)


On Mon, 2006-12-18 at 16:20 +0500, Slacker wrote:
> kashif Mazhar, on 12/18/2006 11:17 AM [GMT+500], 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,
> omg, what a question :)
> 
> Thanks.
-- 
-------------------------------------------------------------------
Dipl. Inf. (FH) Stefan Palme
 
email: kleiner@xxxxxxxxxxxxxxx
www:   http://hbci4java.kapott.org
icq:   36376278
phon:  +49 341 3910484
fax:   +49 1212 517956219
mobil: +49 178 3227887
 
key fingerprint: 1BA7 D217 36A1 534C A5AD  F18A E2D1 488A E904 F9EC
-------------------------------------------------------------------


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux