From owner-freebsd-newbies Sun Aug 15 6:59:10 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from guppy.pond.net (guppy.pond.net [205.240.25.2]) by hub.freebsd.org (Postfix) with ESMTP id 9A42F14C22; Sun, 15 Aug 1999 06:59:06 -0700 (PDT) (envelope-from dmp@aracnet.com) Received: from aracnet.com (snapuser2-89.pacificcrest.net [216.36.34.89]) by guppy.pond.net (8.9.3/8.9.3) with ESMTP id GAA21795; Sun, 15 Aug 1999 06:52:54 -0700 (PDT) From: dmp@aracnet.com Message-ID: <37B6C6B2.EF4010DB@aracnet.com> Date: Sun, 15 Aug 1999 06:54:58 -0700 Organization: PAS, Inc. X-Mailer: Mozilla 4.6 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Eric Hodel Cc: Ng Kok Leong , freebsd-newbies@FreeBSD.ORG, freebsd-user-groups@FreeBSD.ORG Subject: Re: path References: <37B404C4.332848AE@psl.com.sg> <37B6180E.E9F5335F@seattleu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Eric Hodel wrote: > > Ng Kok Leong wrote: > > > > Hi, > > > > I am new to FreeBSD and currently I am working with FreeBSD3.2. > > May I know where can I set the directory path so that I do not have > > to go to the directory where the file resides in order to access it? > > I have tried to set the PATH variable in the .profile file but this does > > If you are using sh, you can set your path in the .profile, but this > will only run on a login shell. If you have root using the sh shell, it > won't pick up the sbin directories if you su. The -l flag makes su behave like a login shell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message