From: Georg Bauhaus <nonlegitur@futureapps.invalid>
Subject: Re: Beginner in Mac OS X, and ADA and gtkAda: $prefix, and what bin, and home is usr/bob or OSX Users/bob
Date: Tue, 12 Sep 2017 07:02:52 -0000 (UTC)
Date: 2017-09-12T07:02:52+00:00 [thread overview]
Message-ID: <op80qs$bq2$1@dont-email.me> (raw)
In-Reply-To: l69ercp94ult4j9pi51odokh54jc8cnepq@4ax.com
Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:
> On Mon, 11 Sep 2017 16:17:51 -0700 (PDT), Mace Ayres <mace.ayres@gmail.com>
> declaimed the following:
>
>> Sorry for some beginner's questions, but.
>>
>> New to Mac OSX. Various software instructions may say home directory; is
>> that OS X ./USERS/Me
>> or Unix's /usr/me:
>>
>> Sometime they refer to the bin directory. Which bin?
>>
>> Some instructions say $prefix .. what prefix is that?
>>
>> Is this even an understandable question?
>
> None of these questions are applicable to Ada itself -- they are all
> dependent upon the operating system in use, so the answer is really in the
> OS documentation or guide books.
>
> However...
>
> Linux (UNIX) home directory is normally
> /home/{username}
> and often accessible using ~
>
> wulfraed@stretch:~$ cd ~
> wulfraed@stretch:~$ pwd
> /home/wulfraed
> wulfraed@stretch:~$
>
> I do not know how Mac handles paths.
MacOS is mostly a BSD Unix with a different kernel,
a different graphics system and some frameworks added
to support these.
$ echo $HOME
in a terminal window will show where the home
directory is.
> /usr is NOT a home directory! It is a location where non-OS applications
> tend to be installed...
>
Unix System Resources is abbreviated to become
"usr".
The directory has programs that are
(a) installed with Unix itself, typically command line
utilities
(b) could be shared by several local machines in a
traditional Unix network installation
$ man hier
in a terminal window should explain the file system
hierarchy.
>
> "$prefix" means the value of the environment variable "prefix"
It usually refers to a path setting in a configuration
file used in compiling a larger program.
next prev parent reply other threads:[~2017-09-12 7:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 23:17 Beginner in Mac OS X, and ADA and gtkAda: $prefix, and what bin, and home is usr/bob or OSX Users/bob Mace Ayres
2017-09-12 0:23 ` Dennis Lee Bieber
2017-09-12 7:02 ` Georg Bauhaus [this message]
2017-09-12 7:33 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox