From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 15:25:56 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D68816A41A for ; Thu, 6 Sep 2007 15:25:56 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mesiob.obspm.fr (mesiob.obspm.fr [145.238.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 29CBF13C49D for ; Thu, 6 Sep 2007 15:25:55 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from localhost (pcjas.obspm.fr [145.238.2.126]) by mesiob.obspm.fr (8.13.4/8.13.4/SIO Observatoire de Paris) with ESMTP id l86FPt3M017367; Thu, 6 Sep 2007 17:25:55 +0200 Date: Thu, 6 Sep 2007 17:25:55 +0200 From: Albert Shih To: Gabor Kovesdan Message-ID: <20070906152555.GF61602@pcjas.obspm.fr> References: <20070906150602.GE61602@pcjas.obspm.fr> <46E01827.5090200@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <46E01827.5090200@FreeBSD.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (mesiob.obspm.fr [145.238.2.2]); Thu, 06 Sep 2007 17:25:55 +0200 (CEST) X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on mesiob.obspm.fr X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: bash on login. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Albert.Shih@obspm.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 15:25:56 -0000 Le 06/09/2007 à 17:09:27+0200, Gabor Kovesdan a écrit > Albert Shih escribió: >> Hi all >> >> I'm using bash for standard shell, what I don't understand is when I'm >> connect by ssh on my server the bash don't parse .bashrc file. >> But if in the bash session I type «bash» this time the .bashrc is use. >> How can I make the .bashrc file is read when I connect by ssh ? >> >> > I'm not sure in the concrete answer, but you can use ~/.profile, it is > processed for me when logging in. Lots of thanks. It's work...I've put source .bashrc at the end of my ~/.profile Regards. -- Albert SHIH Observatoire de Paris Meudon SIO batiment 15 Téléphone : 01 45 07 76 26 Heure local/Local time: Jeu 6 sep 2007 17:25:27 CEST