2004年03月02日 星期二 17:27
zhao, /etc/bashrc ~/.bashrc ======= 2004-03-02 17:17:50 Quote from your mail ======= >Zoom.Quiet,您好! > > 显然安装完新的cvs后,系统中有两个cvs可执行文件,一个在/usr/local/bin中,一个在/usr/bin中, >使用全路径都可执行 > >为什么重名/usr/local/bin中的cvs,然后执行cvs(不是全路径),shell会报错说/usr/local/bin/cvs找不到, >什么地方指定cvs一定在/usr/local/bin/下,/usr/bin/明明也有一个cvs,也是可以执行的 > >linux下命令可以有命令别名设置??如果有信息存放在何处?? > > >======= 2004-03-02 15:05:24 您在来信中写道:======= > >>Hello zhao, >> >>哇哇! >>绝对不同! >>系统注册的都在/etc.. 有文件定义的! >>不过可以简单的超越之! >>cp /usr/bin/cvs /usr/bin/cvsold >>备份原来的! >>rm /usr/bin/cvs >>ln /usr/local/bin/cvs /usr/bin/cvs >>硬链接新的,成为同样的 cvs >>让系统自个儿调用新的! >>当然原来的依然好用! >>只是名称变化了 >> >>=== [ 14:54 ; 04-03-02 ] you wrote: >> >>z> To All,您好! >> >>z> 不知各位linux熟否? >> >>z> 原本/usr/bin/下有cvs,后来我编译安装了新的cvs到/usr/local/bin下,执行cvs命令发现执行的是新装的cvs, >>z> 接着我想尝试原有的cvs,就把新的cvs随便改了个名字,但执行cvs命令时shell报错说/usr/local/bin/cvs没找到 >> >>z> 我奇怪的是系统什么地方指明cvs一定是在/usr/local/bin/下,/usr/bin/下不是也有一个嘛 >> >>z> 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 >> >>z> = = = = = = = = = = = = = = = = = = = = >> >>z> 致 >>z> 礼! >> >> >>z> zhao >>z> bear_sh at eastday.com >>z> 2004-03-02 >> >>=== === === === === === === === === === >> >>-- >>Best regards, >> Zoom.Quiet >> >> /=======================================\ >>]Time is unimportant, only life important![ >> \=======================================/ >> > >= = = = = = = = = = = = = = = = = = = = > > > 致 >礼! > > > 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
Zeuux © 2024
京ICP备05028076号