Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls -L [some symbolic linked file] not working




On Sep 20, 2006, at 7:14 AM, David Hoerl wrote:

I recently had cause to try and use "ls -L file" to find the linked file. Its not working (I wanted to use the return string in a shell program).

Here is what I did to test this:

$ cd /tmp
$ cat > goop
hello world
$ ln -s /tmp/goop /tmp/foop
$ file foop
foop: symbolic link to `/tmp/goop'
$ ls -L foop
foop
$ ls -L goop
goop

Is this a known problem (ie should I create a bug report on it)?

I think that this is the way it's meant to work: $ ls -l gah lrwxr-xr-x 1 peter peter 2 Sep 20 07:27 gah -> hw $ ls -Lld gah drwxr-xr-x 12 peter peter 408 Sep 19 12:35 gah

Peter

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >ls -L [some symbolic linked file] not working (From: David Hoerl <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.