From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 15:10:05 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 EBCA616A420 for ; Thu, 6 Sep 2007 15:10:05 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.t-hosting.hu (server.t-hosting.hu [81.2.252.59]) by mx1.freebsd.org (Postfix) with ESMTP id A74C013C48D for ; Thu, 6 Sep 2007 15:10:05 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 6B1EAA4A328; Thu, 6 Sep 2007 17:09:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at t-hosting.hu Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lI+QaBhCB0VD; Thu, 6 Sep 2007 17:09:49 +0200 (CEST) Received: from [192.168.2.186] (catv-5063f539.catv.broadband.hu [80.99.245.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id 62F12A4A322; Thu, 6 Sep 2007 17:09:49 +0200 (CEST) Message-ID: <46E01827.5090200@FreeBSD.org> Date: Thu, 06 Sep 2007 17:09:27 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Albert.Shih@obspm.fr References: <20070906150602.GE61602@pcjas.obspm.fr> In-Reply-To: <20070906150602.GE61602@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org 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:10:06 -0000 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. Regards, -- Gabor Kovesdan FreeBSD Volunteer EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org