From owner-freebsd-questions Sat Jan 2 18:06:41 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA00428 for freebsd-questions-outgoing; Sat, 2 Jan 1999 18:06:41 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from guru.phone.net (guru.phone.net [209.157.82.120]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA00423 for ; Sat, 2 Jan 1999 18:06:38 -0800 (PST) (envelope-from mwm@phone.net) Received: (qmail 29126 invoked by uid 100); 3 Jan 1999 02:06:14 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Jan 1999 02:06:14 -0000 Date: Sat, 2 Jan 1999 18:06:14 -0800 (PST) From: Mike Meyer To: questions@FreeBSD.ORG Subject: Re: executable scripts In-Reply-To: <19990102163613.A28157@wopr.caltech.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 2 Jan 1999, Matthew Hunt wrote: > If you're new to Unix, and setting up a FreeBSD system for your own > personal use, you may not see much difference between (b) and (c) > since you're the only user on your machine. But it's a good habit > to get into to think about whether your changes are to suit yourself, > or (hypothetically) all of your users. That can help you to decide > whether to put software and scripts in ~/bin or /usr/local/bin, > whether to change configuration files in /etc/foorc or ~/.foorc, > and so forth. It's a good habit to get into early, even if it makes > little practical difference. As an aside from someone not new to Unix, I don't put commands in /usr/local on FreeBSD by hand - because /usr/ports builds into it. Instead, I put them in an install directory on a custom fs, and symlink the commands back to /usr/local/bin. The idea is to have a clean break between programs from the FreeBSD distribution, and everything else. This means that doing OS upgrades doesn't touch anything that isn't part of the distibution, and that you can rebuild all of /usr from the distribution. That was the original point of /usr/local - that it held locally built/maintained software. However, with /usr/ports building to it, it just aanother level of distribution binaries at this point. Personaly, I'd prefer if the ports/packages collection built to /usr/bin, but there's probably a reason for not doing it that way.