From owner-freebsd-questions Sun Jan 18 17:22:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA06238 for questions-outgoing; Sun, 18 Jan 1998 17:22:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jason05.u.washington.edu (root@jason05.u.washington.edu [140.142.78.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA06163 for ; Sun, 18 Jan 1998 17:21:21 -0800 (PST) (envelope-from jcwells@u.washington.edu) Received: from saul9.u.washington.edu (root@saul9.u.washington.edu [140.142.82.7]) by jason05.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id RAA23240; Sun, 18 Jan 1998 17:20:56 -0800 Received: from S8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul9.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id RAA25884; Sun, 18 Jan 1998 17:20:55 -0800 (PST) Message-Id: <3.0.3.32.19980118172050.007b4b10@jcwells.deskmail.washington.edu> X-Sender: jcwells@jcwells.deskmail.washington.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Sun, 18 Jan 1998 17:20:50 +0000 To: Feiyi Wang From: Jason Wells Subject: Re: set path in X enviroment Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk At 13:45 1/18/98 -0500, Feiyi Wang wrote: > >hi, there > >I am running XDM as front end, when I login, it seems the .bash_profile in >my home directory didn't not get executed. There is some enviroment >information has been set, where are they come from? Where should I set up >my PATH ? > >/oliver You can do the following. cp ~/.bash_profile ~/.bashrc The .bashrc file is read by bash under these circumstances. This way your environments within an Xterm will be identical to your environment in character mode. This will include your $PATH. Read 'man bash' for more information. Later, Jason Wells