From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 15:39:04 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 85FF816A418 for ; Thu, 6 Sep 2007 15:39:04 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 60EA613C45E for ; Thu, 6 Sep 2007 15:39:04 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 1A9DD8187 for ; Thu, 6 Sep 2007 11:39:03 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id 4766BB67AC for ; Thu, 6 Sep 2007 15:39:01 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Thu, 6 Sep 2007 15:38:38 +0000 References: <20070906150602.GE61602@pcjas.obspm.fr> In-Reply-To: <20070906150602.GE61602@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200709061538.38596.lists-fbsd@shadypond.com> Subject: Re: bash on login. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2007 15:39:04 -0000 On Thursday 06 September 2007 15:06:02 Albert Shih wrote: > 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 =ABbash=BB this time the .bashrc is use. > > How can I make the .bashrc file is read when I connect by ssh ? I source it in ~/.bash_profile: # include .bashrc if it exists if [ -f ~/.bashrc ]; then . ~/.bashrc fi