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

Re: [cobalt-users] Stupid CGI path question



 > Which is the correct (Telnet) command:

 1.    ln -s    /usr/local/bin/perl      /usr/bin/perl       (spaces
 > exaggerated for clarity)
 > ... or ...
 > 2.   ln -s     /usr/bin/perl      /usr/local/bin/perl

 ... or am I missing something else, here, that I need to
 solve this problem?  TIA


Kris Dahl wrote:
It is
ln -s source target

so if you want to create a sybolic link /usr/bin/perl that points to
/usr/local/bin/perl the command would be

ln -s /usr/local/bin/perl /usr/bin/perl


So, if I understand you correctly, the command that you used as an example will create a symbolic link
		FROM "/user/bin/perl"
		TO "/usr/local/bin/perl".
This should allow scripts that are coded for /usr/local/bin/perl to be read and executed when (as on the Raq3) the PERL interpreter actually lives in /usr/bin/perl. Is that correct?

	When I did this, I received the following output:
*******************
[admin@tesla admin]$ su
Password:
[root@tesla admin]# ln -s /usr/local/bin/perl /usr/bin/perl
ln: /usr/bin/perl: File exists
[root@tesla admin]#
********************

Not being a UNIX guru, the result "File exists" confuses me. It sort of looks like an error. Did this work, or do I need to do it again(backwards)? TIA (Kris).



Patrick Beart
--
-------------------------------------------------------------------
patrick@xxxxxxxxxxxxxxxxxxx       503-558-8322      Clackamas(Portland), OR
Web Architecture:   http://www.WebArchitecture.com
Intelligent Internet consulting, site development, and hosting solutions since 1994

* Founding MEMBER --  Internet Professionals Northwest. (www.ipn.org)
* MEMBER -- Webmaster's Guild/ Association of Internet Professionals
 -------------------------------------------------------------------