Jim Gifford <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:

> Alexander V. Shepetko wrote:
> 
>>Hi!
>>
>>ls -l /tools/bin/perl
>>-rwxr-xr-x  2 root root 1035129 Mar 27 20:01 /tools/bin/perl
>>
>>But,
>>
>>/tools/bin/perl
>>bash: /tools/bin/perl: No such file or directory
>>
>>Why this happens?
>>
>>  
>>
> What does ls -l / look like?
> 

Interesting - your /tools/bin/perl is hardlinked to something else (The 
"2" in the ls listing indicates the number of links to the file).

I don't have a /tools directory handy, but I'm fairly sure that's not 
normal.

An ls -li /tool/bin/perl will give you the inode of the linked file, which 
you can then ls -liR /tools | grep <inode> to find the other copy of the 
file.

-- -
Steve Crosby
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to