From owner-freebsd-libh Fri Nov 3 11:57:52 2000 Delivered-To: freebsd-libh@freebsd.org Received: from atlas.dnai.com (atlas.dnai.com [207.181.194.95]) by hub.freebsd.org (Postfix) with ESMTP id 30DCD37B4F9 for ; Fri, 3 Nov 2000 11:57:45 -0800 (PST) Received: from azoth.dnai.com (azoth.dnai.com [207.181.194.94]) by atlas.dnai.com (8.9.3/8.9.3) with ESMTP id LAA54740; Fri, 3 Nov 2000 11:57:39 -0800 (PST) Received: from acm.org (207-172-166-33.s33.tnt1.sfrn.ca.dialup.rcn.com [207.172.166.33]) by azoth.dnai.com (8.9.3/8.9.3) with ESMTP id LAA55042; Fri, 3 Nov 2000 11:57:35 -0800 (PST) Message-ID: <3A0318AB.A0417517@acm.org> Date: Fri, 03 Nov 2000 11:57:31 -0800 From: Tim Kientzle Reply-To: kientzle@acm.org X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Perkin Cc: libh@FreeBSD.ORG Subject: Re: Making the Packages System Better References: <20001103143503.B94079@netcraft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Perkin wrote: > ... I side with DES in that the symlinks get annoying after a while > - basic stuff like viewing file permissions is impractical as you > have to follow symlinks first just to get to the file. man ls I don't know if the -H option is available on most Linux systems, but it's been a standard part of BSD for quite a while. For example, on my system right now, I could follow the symlink trail for /usr/local/bin/java: % ls -l /usr/local/bin/java lrwxr-xr-x 1 root wheel 20 Sep 1 20:30 /usr/local/bin/java@ -> ../jdk1.2.2/bin/java % ls -l /usr/local/jdk1.2.2/bin/java lrwxr-xr-x 1 root 1050 13 Aug 24 13:01 /usr/local/jdk1.2.2/bin/java@ -> .java_wrapper % ls -l /usr/local/jdk1.2.2/bin/.java_wrapper -r-xr-xr-x 1 root 1050 3228 Aug 23 17:33 /usr/local/jdk1.2.2/bin/.java_wrapper* Or I can type ls -lH and get the final file details in one shot: % ls -lH /usr/local/bin/java -r-xr-xr-x 1 root 1050 3228 Aug 23 17:33 /usr/local/bin/java* - Tim Kientzle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message