On Tue, 22 Feb 2005 15:19:45 +0530, Akash <[EMAIL PROTECTED]> wrote:
On Tue, 22 Feb 2005 18:25:34 +0900, Thaths <[EMAIL PROTECTED]> wrote:
On Tue, 22 Feb 2005 04:16:02 -0500, L.V.Gandhi <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED]:/home/lvgandhi# ./setproxy [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy
[EMAIL PROTECTED]:/home/lvgandhi# cat setproxy export http_proxy=http://150.1.35.36:3128 export ftp_proxy=http://150.1.35.36:3128 [EMAIL PROTECTED]:/home/lvgandhi# export http_proxy=http://150.1.35.36:3128 [EMAIL PROTECTED]:/home/lvgandhi# export ftp_proxy=http://150.1.35.36:3128 [EMAIL PROTECTED]:/home/lvgandhi# echo $http_proxy http://150.1.35.36:3128
any solutions?
assuming this for bash, try this
prompt$ . setproxy
note the space in between the dot and setproxy
Thanks. It has worked. But in mandrake script used to give desired result even with ./setproxy Any idea about the reason why it is not working in debian (kanotix)
Is it possible that you were issuing: $ . ./setproxy
This executes the commands in the script in the current shell without spawning a new shell. Therefore your export works.
I don't think the command below can do that:
$ ./setproxy
This has more to do with shell than distros.
--
Soumen Dass [Registered Linux User # 272639 - Linux nova 2.4.22-1.2115.nptl i686]
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help
