[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Stupid CGI path question
- Subject: Re: [cobalt-users] Stupid CGI path question
- From: "Steven Werby" <steven-lists@xxxxxxxxxxxx>
- Date: Tue Aug 15 19:51:33 2000
Patrick Béart <patrick@xxxxxxxxxxxxxxxxxxx> wrote:
> 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
That might be because that symbolic link may have already existed. Did you
check first? Check now. "ls -l /usr/local/bin/perl". If the timestamp on it
isn't today then it already was there.
> 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, there's no harm in creating a temporary directory and creating some
files to practice on. I find the best way to learn and *remember* is to try,
fail and learn from your mistakes. Of course being able to do on a
non-production server is preferable.
[root@ns /root]# mkdir tmp
[root@ns /root]# cd tmp
[root@ns tmp]# touch a
[root@ns tmp]# ln -s a b
[root@ns tmp]# ls
total 7
drwxr-xr-x 2 root root 1024 Aug 15 22:40 ./
drwxr-x--- 8 root root 6144 Aug 15 22:40 ../
-rw-r--r-- 1 root root 0 Aug 15 22:40 a
lrwxrwxrwx 1 root root 1 Aug 15 22:40 b -> a
--
Steven Werby {steven-lists@xxxxxxxxxxxx}