On 24/06/10 22:12, Bruce Dubbs wrote:
> Neal Murphy wrote:
>> Both of the following commands display the symlink's target:
>>    ln -s /bin/sh
Won't that just make a symbolic link to /bin/sh in the current directory?
>>    readlink /bin/sh
>
> Or more conventionally:
>
> $ ls -l /bin/sh
> lrwxrwxrwx 1 root root 4 Aug 16  2009 /bin/sh ->  bash
>

Another tool to find out information about a file is stat, part of 
coreutils.

Andy
-- 
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