Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jun 1998 10:14:47 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        Genius@glasgow.crosswinds.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Autoexec.bat equiv.
Message-ID:  <199806221714.KAA00672@ix.netcom.com>
In-Reply-To: <003101bd9df4$1de88280$17e107c3@metallica> (Genius@glasgow.crosswinds.net)

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806221714.KAA00672>