From owner-freebsd-questions Wed Sep 17 09:34:13 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA23022 for questions-outgoing; Wed, 17 Sep 1997 09:34:13 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA23007 for ; Wed, 17 Sep 1997 09:34:06 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.7/8.6.12) with SMTP id JAA27227; Wed, 17 Sep 1997 09:29:12 -0700 (PDT) Date: Wed, 17 Sep 1997 09:29:11 -0700 (PDT) From: Annelise Anderson To: User Mike cc: freebsd-questions@FreeBSD.ORG Subject: Re: path statements In-Reply-To: <199709171500.LAA01198@BLACKJAC.mw.mediaone.netDEST> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 17 Sep 1997, User Mike wrote: > i tried to alter my path with the .login and .profile files in my directory. by for some reason i'm not getting anything now. i had to type /usr/bin/mail in order to even get to the mail directory -- please help! sorry if it's a stupid question. > mike webbe > 1) What shell are you using? Use echo $SHELL to find out. .profile is for sh or bash. My .login has no path statement in it. I use csh (or tcsh) and the path statement is in .cshrc or .tcshrc. 2) After editing the path in, say, .cshrc, type source .cshrc to get the file reread so you don't have to log in again to find out if it worked. 3) Use echo $PATH to see your path statement. Annelise