[GRLUG] What's the diff?

Dave Chiodo megadave at gmail.com
Sat Mar 1 16:53:04 EST 2014


And for the record, if there is a difference, its not in the OS or kernel,
but in the "ls" program, and which one is packaged or included in the
particular system in question.


On Sat, Mar 1, 2014 at 4:51 PM, Dave Chiodo <megadave at gmail.com> wrote:

> Say /home/user/link is a symlink.
>
> on both systems, try
>
> ls -l /home/user/link
>
> vs
>
> ls -l /home/user/link/
>
> (notice the / at the end)
>
>
> On Sat, Mar 1, 2014 at 4:40 PM, L. V. Lammert <lvl at omnitec.net> wrote:
>
>> If one does an ls on a symbolic link in BSD, it shows the files at the
>> destination of that link; if one does an ls on a symbolic link on a
>> current Linux system it shows the *link*, not the contents where the link
>> points [assuming a directory, .. have not tried a file link].
>>
>> Something has changed in the Linux builds in the past few years [testing
>> on an old CentOS box acts as expected]. What is the philosophy behind the
>> change, and how would one show files at the target of a symlink now?
>>
>>         Thanks!
>>
>>         Lee
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20140301/b37edcfa/attachment.html>


More information about the grlug mailing list