From owner-freebsd-user-groups Sun Aug 15 6:59:10 1999 Delivered-To: freebsd-user-groups@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-user-groups@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-user-groups" in the body of the message From owner-freebsd-user-groups Sun Aug 15 7:40:38 1999 Delivered-To: freebsd-user-groups@freebsd.org Received: from tasam.com (tasam.com [206.161.83.22]) by hub.freebsd.org (Postfix) with ESMTP id 62798152FB; Sun, 15 Aug 1999 07:40:34 -0700 (PDT) (envelope-from korvus@tasam.com) Received: from localhost (korvus@localhost) by tasam.com (8.9.3/8.9.3) with ESMTP id KAA21636; Sun, 15 Aug 1999 10:38:10 -0400 (EDT) (envelope-from korvus@tasam.com) Date: Sun, 15 Aug 1999 10:38:10 -0400 (EDT) From: "Korvus [PINE]" To: dmp@aracnet.com Cc: Eric Hodel , Ng Kok Leong , freebsd-newbies@FreeBSD.ORG, freebsd-user-groups@FreeBSD.ORG Subject: Re: path In-Reply-To: <37B6C6B2.EF4010DB@aracnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-user-groups@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i believe "su -" will work as well On Sun, 15 Aug 1999 dmp@aracnet.com wrote: > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-user-groups" in the body of the message From owner-freebsd-user-groups Mon Aug 16 8:20:45 1999 Delivered-To: freebsd-user-groups@freebsd.org Received: from computemp.telegraph.net (consultis.com [151.185.201.86]) by hub.freebsd.org (Postfix) with ESMTP id C1B7614E60; Mon, 16 Aug 1999 08:20:21 -0700 (PDT) (envelope-from timm@consultis.com) Received: from consultis.com ([63.14.196.33]) by computemp.telegraph.net (Netscape Mail Server v1.1) with ESMTP id AAA245; Mon, 16 Aug 1999 11:15:09 -0400 Message-ID: <37B82BC1.AA97E7A9@consultis.com> Date: Mon, 16 Aug 1999 08:18:25 -0700 From: timm@consultis.com (Tim McCarey) X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: "Korvus [PINE]" Cc: dmp@aracnet.com, Eric Hodel , Ng Kok Leong , freebsd-newbies@FreeBSD.ORG, freebsd-user-groups@FreeBSD.ORG Subject: Re: path References: Content-Type: multipart/mixed; boundary="------------98887FB233D63CF24652A8ED" Sender: owner-freebsd-user-groups@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------98887FB233D63CF24652A8ED Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit PLEASE TAKE ME OFF YOUR DISTRIBUTION LIST OR SPAM LIST. "Korvus [PINE]" wrote: > i believe "su -" will work as well > > On Sun, 15 Aug 1999 dmp@aracnet.com wrote: > > > 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 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-user-groups" in the body of the message --------------98887FB233D63CF24652A8ED Content-Type: text/x-vcard; charset=us-ascii; name="timm.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Timmothy M. McCarey Content-Disposition: attachment; filename="timm.vcf" begin:vcard n:McCarey;Timmothy M. tel;fax:480/947-6877 tel;home:623/978-2005 tel;work:480/947-6818 x-mozilla-html:FALSE org:Consultis of Phoenix, Inc. version:2.1 email;internet:timm@consultis.com title:Branch Manager adr;quoted-printable:;;6900 E. Camelback Road=0D=0ASuite 805=0D=0A=0D=0A=0D=0A;Scottsdale;AZ;85251;USA fn:Timmothy M. McCarey end:vcard --------------98887FB233D63CF24652A8ED-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-user-groups" in the body of the message