2004年03月02日 星期二 15:10
hutuworm,您好!
我奇怪的是系统什么地方指明cvs一定是在/usr/local/bin/下,/usr/bin/下不是也有一个嘛
/usr/local/bin和/usr/bin都在$PATH变量中,usr/local/bin在/usr/bin之前
在windoiws下如果找不到命令文件,会说某某文件没找到,但不会说某某路径下的某某文件没找到,如果在控制台中只是输入不带路径的文件名
但在linux的执行中却发生令我不解的错误,按照widnows下经验命令是可以执行的(执行/usr/bin/cvs)
======= 2004-03-02 14:59:09 您在来信中写道:=======
>zhao,
>
> /etc/profile
>
> PATH=...
>
>======= 2004-03-02 14:54:21 Quote from your mail =======
>
>>To All,您好!
>>
>>不知各位linux熟否?
>>
>>原本/usr/bin/下有cvs,后来我编译安装了新的cvs到/usr/local/bin下,执行cvs命令发现执行的是新装的cvs,
>>接着我想尝试原有的cvs,就把新的cvs随便改了个名字,但执行cvs命令时shell报错说/usr/local/bin/cvs没找到
>>
>>我奇怪的是系统什么地方指明cvs一定是在/usr/local/bin/下,/usr/bin/下不是也有一个嘛
>>
>>linux下命令搜索路径的方式或概念和windows下不同??
>>
>>
>>>> _________________________________________________________
>>>> Do You Yahoo!?
>>>> 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间
>>>> http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com
>>>> _______________________________________________
>>>> python-chinese mailing list
>>>> python-chinese at lists.python.cn
>>>> http://python.cn/mailman/listinfo/python-chinese
>>>> _______________________________________________
>>>> python-chinese mailing list
>>>> python-chinese at lists.python.cn
>>>> http://python.cn/mailman/listinfo/python-chinese
>>
>>= = = = = = = = = = = = = = = = = = = =
>>
>> 致
>>礼!
>>
>>
>> zhao
>> bear_sh at eastday.com
>> 2004-03-02
>>_______________________________________________
>>python-chinese mailing list
>>python-chinese at lists.python.cn
>>http://python.cn/mailman/listinfo/python-chinese
>
>==================================================
>
>
>hutuworm
>
>
>
>_______________________________________________
>python-chinese mailing list
>python-chinese at lists.python.cn
>http://python.cn/mailman/listinfo/python-chinese
= = = = = = = = = = = = = = = = = = = =
致
礼!
zhao
bear_sh at eastday.com
2004-03-02
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fox.gif
Type: image/gif
Size: 9519 bytes
Desc: not available
Url : http://lists.exoweb.net/pipermail/python-chinese/attachments/20040302/86fb1a60/fox.gif
2004年03月02日 星期二 15:17
-----Original Message----- From: zhao [mailto:bear_sh at eastday.com] Sent: 2004年3月2日 15:11 To: hutuworm Cc: python-chinese Subject: Re: Re: [python-chinese]linux下的文件执行 hutuworm,您好! > 我奇怪的是系统什么地方指明cvs一定是在/usr/local/bin/下,/usr/bin/下不是也有一 >个嘛 > /usr/local/bin和/usr/bin都在$PATH变量中,usr/local/bin在/usr/bin之前 >在windoiws下如果找不到命令文件,会说某某文件没找到,但不会说某某路径下的某某文件没找 >到,如果在控制台中只是输入不带路径的文件名 >但在linux的执行中却发生令我不解的错误,按照widnows下经验命令是可以执行的(执 >行/usr/bin/cvs) 你检查过自己所用的账户有没有权限执行/usr/bin/cvs么?
Zeuux © 2025
京ICP备05028076号