From owner-freebsd-newbies Sat Apr 6 13:10:32 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from phucking.kicks-ass.org (c-4b3a70d5.022-45-6f72652.cust.bredbandsbolaget.se [213.112.58.75]) by hub.freebsd.org (Postfix) with ESMTP id 7C64B37B404 for ; Sat, 6 Apr 2002 13:10:25 -0800 (PST) Received: from phucking.kicks-ass.org (localhost.kicks-ass.org [127.0.0.1]) by phucking.kicks-ass.org (Postfix) with SMTP id B64159AD; Sat, 6 Apr 2002 23:10:29 +0200 (CEST) Received: from 213.112.58.75 (SquirrelMail authenticated user z3l3zt) by phucking.kicks-ass.org with HTTP; Sat, 6 Apr 2002 23:10:29 +0200 (CEST) Message-ID: <2182.213.112.58.75.1018127429.squirrel@phucking.kicks-ass.org> Date: Sat, 6 Apr 2002 23:10:29 +0200 (CEST) Subject: Re: Difference between .cshrc and .profiles From: "Jesper Wallin" To: In-Reply-To: <20020406202704.36C06B6B6@xmxpita.excite.com> References: <20020406202704.36C06B6B6@xmxpita.excite.com> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello.. Almost in all cases are all files starting with a "." and ending in "rc" runned when you start the specified program.. So .cshrc is runned when you start csh shell, .bashrc is runned when you start the bash shell.. The .profile is often a copy of the /etc/profile and the /etc/profile is runned each time you login which mean, even if you're running bash, sh, csh, etc.. /etc/profile will be runned.. Because you're not running the system as root all the time, you're not allowed to change the /etc/profile.. Therefor you will get a copy if it named .profile which make it able to edit it so it fit you.. :) Jesper aka Z3l3zT > > Can anyone explain the difference between .cshrc and .profile? They are > so similar. > > > > ------------------------------------------------ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message