From owner-freebsd-questions Mon Nov 8 2:48: 8 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id B6A6B14A0D for ; Mon, 8 Nov 1999 02:48:00 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.040 #1) id 11kmKw-000AOU-00; Mon, 08 Nov 1999 12:47:46 +0200 From: Sheldon Hearn To: pirat@access.inet.co.th Cc: questions@FreeBSD.ORG Subject: Re: $USER subdirectory in $USER home In-reply-to: Your message of "Mon, 08 Nov 1999 10:21:34 +0700." <99110810235401.61996@sukato.ibm.net> Date: Mon, 08 Nov 1999 12:47:46 +0200 Message-ID: <39957.942058066@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 08 Nov 1999 10:21:34 +0700, pirat sriyotha wrote: > would anyone please tell me why some time there is a $USER > subdirectory in a $USER home. but now i am using FreeBSD-3.3, there is > no such a subdirectory. It sounds like you're using the word subdirectory when what you really mean is environment variable. If so, don't rely on USER, since it's less likely to be present than the POSIX equivalent, LOGNAME. Note that FreeBSD's login(1) sets both LOGNAME and USER. Perhaps you're logging into your machine using some other method which doesn't set the variables as expected? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message