LFS 6.6 Chapter 8.1 Can't "make" new kernel

Andrew Benton b3nton at gmail.com
Fri Jun 25 06:52:35 PDT 2010


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



More information about the lfs-support mailing list