From owner-freebsd-questions Mon Jun 22 10:15:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA06908 for freebsd-questions-outgoing; Mon, 22 Jun 1998 10:15:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ix.netcom.com (sil-wa4-31.ix.netcom.com [207.93.136.95]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA06856 for ; Mon, 22 Jun 1998 10:14:57 -0700 (PDT) (envelope-from tomdean@ix.netcom.com) Received: (from tomdean@localhost) by ix.netcom.com (8.8.8/8.8.8) id KAA00672; Mon, 22 Jun 1998 10:14:47 -0700 (PDT) (envelope-from tomdean) Date: Mon, 22 Jun 1998 10:14:47 -0700 (PDT) Message-Id: <199806221714.KAA00672@ix.netcom.com> From: Thomas Dean To: Genius@glasgow.crosswinds.net CC: freebsd-questions@FreeBSD.ORG In-reply-to: <003101bd9df4$1de88280$17e107c3@metallica> (Genius@glasgow.crosswinds.net) Subject: Re: Autoexec.bat equiv. Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is not exactly an 'autoexec.bat' Since FreeBSD is a true multi-user system, there are many ways to start things. Some specific cases: Are the things you want to start: 1. For all users, to be started before anyone logs in? In this case, maybe /etc/rc.local is the proper place to start things. You have to change this as root. See 'man rc' 2. For all users, to be started, one per user, as each logs in? Then, /etc/csh.cshrc, or /etc/csh.login, and/or /etc/csh.logout are the proper places to put things. You have to change these as root. See 'man csh' or other shell, as appropriate. 3. For a single user, to be started as that user logs in? Then, ~/.cshrc, or ~/.login, and/or ~/.logout are the proper places to put things. Each user has control over these. See 'man csh' or other shell, as appropriate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message