Search squid archive

Re: VI

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

 



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.
>>     


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

  Powered by Linux