From owner-freebsd-questions Thu Mar 23 1:26: 6 2000 Delivered-To: freebsd-questions@freebsd.org Received: from emu.prod.itd.earthlink.net (emu.prod.itd.earthlink.net [207.217.121.31]) by hub.freebsd.org (Postfix) with ESMTP id 8E3A537BB5D for ; Thu, 23 Mar 2000 01:26:01 -0800 (PST) (envelope-from bduk@arthlink.net) Received: from arthlink.net (sdn-ar-006orportP282.dialsprint.net [63.178.69.84]) by emu.prod.itd.earthlink.net (8.9.3/8.9.3) with ESMTP id BAA07009; Thu, 23 Mar 2000 01:25:58 -0800 (PST) Received: (from bduk@localhost) by arthlink.net (8.9.3/8.9.3) id BAA01534; Thu, 23 Mar 2000 01:19:45 -0800 (PST) (envelope-from bduk) Date: Thu, 23 Mar 2000 01:19:45 -0800 (PST) Message-Id: <200003230919.BAA01534@arthlink.net> From: Derrick Baumer To: jmd526@hotmail.com Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <20000323063640.24326.qmail@hotmail.com> (jmd526@hotmail.com) Subject: Re: symbolic links Reply-To: bduk@earthlink.net Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > From: "John Daniels" > > Hi: > Can someone tell me how long a symbolic link lasts? Do these need > to be maintained in any way? Are there any 'gotchas' in using them? They don't expire. Other than making sure you update the link if you move the file, the only "gotcha" I can think of is making sure Apache (web server) knows to follow symlinks if it needs (and if you want it) to. > I just did a symbolic link to place /var under /usr (as described in > the book: The Complete FreeBSD. Now I get the entry var@ when I > enter the command ls -F. I guess var@ tells me that there is > symbolic link. Yep. The @ means link. If you wanna see the contents of the directory, include the trailing slash. ls -f /var/ Probably wouldn't hurt to get into that habit anyway. BTW, you can alias ls to do ls -F. Using sh (and compatible), you just pop a line in ~/.profile alias ls='/bin/ls -F' Sorry if you already knew that. > Thanks, > John -- Derrick Baumer bduk@earthlink.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message