🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #623816

Re: First use of /sbin in Unix?

#623816
From: Jorgen Grahn
Date: Wed, 06 Jun 2018 19:37
35 lines
2732 bytes
On Wed, 2018-06-06, Grant Taylor wrote:
> On 06/06/2018 07:13 AM, Kerr-Mudd,John wrote:
>> Having come from the "simpler" DOS world of total control, with maybe 
>> just a path to c:\utils, I found it a puzzle that there were so many 
>> places (yet only those ones!) to put executables under linux.

It's a bit puzzling, but not a problem in practice.

> You can put executables in a LOT of places.  You just need to choose 
> somewhere that's already in the PATH environment variable, or modify it 
> to your liking.

I'm happy I don't see a lot of software installed under /opt anymore.
That was a pain: often as a user I had to add /opt/$foo/bin to my
$PATH, for each piece of software $foo I was interested in.  And quite
often such software needed other environment variables like $FOO_PATH
too, or it would malfunction.

There's also the issue with documentation.  If a piece of software is
in your path, but the man command cannot find the manual page, you're
in an awkward situation.  man(1) on Linux nowadays has the option to
search for man pages in $foo/man/ if $foo/bin is in the $PATH, but I
think that's a recent improvement.

> I personally have ~/bin first in my path.

It's unclear to me if that's standardized, but yes, I make sure I have
that in my $PATH, too.  It's where all scripts go that are only
interesting to me.

/Jorgen

-- 
  // Jorgen Grahn <grahn@  Oo  o.   .     .
\X/     snipabacken.se>   O  o   .
Technical Details
Message-ID: <slrnphgdv7.31ka.grahn+nntp@frailea.sa.invalid>
Path: mbox-mo1.pugleaf.net!d26-v6ni9238wmb.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <pf6emc$3h2$1@dont-email.me> <ZzzRC.190248$T14.113297@fx44.iad> <pf7ieq$40p$1@tncsrv09.home.tnetconsulting.net> <20180606103538.7eddd3774f5429f1abd54fc6@eircom.net> <XnsA8F990C4CB379admin127001@85.214.115.223> <pf8vvb$oko$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
X-Received: by 2002:a5d:44d2:: with SMTP id z18-v6mr397883wrr.25.1528313834076;        Wed, 06 Jun 2018 12:37:14 -0700 (PDT)
X-BeenThere: alt.folklore.computers@googlegroups.com
Received: by 2002:a1c:82d4:: with SMTP id e203-v6ls529441wmd.12.gmail; Wed, 06 Jun 2018 12:37:13 -0700 (PDT)
X-Received: by 2002:a1c:8ad0:: with SMTP id m199-v6mr348228wmd.5.1528313833291;        Wed, 06 Jun 2018 12:37:13 -0700 (PDT)
MIME-Version: 1.0
Path: mbox-mo1.pugleaf.net!d26-v6ni9238wmb.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Jorgen Grahn <grahn...@snipabacken.se>
Newsgroups: alt.folklore.computers
Subject: Re: First use of /sbin in Unix?
Date: 6 Jun 2018 19:37:11 GMT
Lines: 35
Message-ID: <slrnphgdv7.31ka.grahn+nntp@frailea.sa.invalid>
References: <pf6emc$3h2$1@dont-email.me> <ZzzRC.190248$T14.113297@fx44.iad> <pf7ieq$40p$1@tncsrv09.home.tnetconsulting.net> <20180606103538.7eddd3774f5429f1abd54fc6@eircom.net> <XnsA8F990C4CB379admin127001@85.214.115.223> <pf8vvb$oko$1@tncsrv09.home.tnetconsulting.net>
X-Trace: individual.net ZkL7VyrQ58l/r1VYGFXhDQCkMh6uw5UTZbqAwE7FPmL9eApSvx
Cancel-Lock: sha1:IDebT4TFRqVKs6VmuWP6Ta4Ak9U=
User-Agent: slrn/1.0.2 (OpenBSD)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit