Re: [squid-users] VI

From: Slacker <slacker@dont-contact.us>
Date: Wed, 20 Dec 2006 22:48:29 +0500

Stefan Palme, on 12/20/2006 06:19 PM [GMT+500], wrote :
> 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-
>
> :)
>
you forget to tell him 'chmod +x script called
i_want_to_open_squid_conf_from_anywhere.sh'

:D
>
> 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.
>>
Received on Wed Dec 20 2006 - 10:48:41 MST

This archive was generated by hypermail pre-2.1.9 : Mon Jan 01 2007 - 12:00:01 MST