Allegedly, on or about 26 October 2017, George N. White III sent:
When there is a choice between having more things "just
work" for
pointy-clicky users who have never encountered a terminal at a cost
of additional complexity for guru-class users who work with the
shell, the "just work" option has advantages:
1. gurus spend less time sorting out problems with broken GUI apps
for the pointy-clicky types
2. pointy-clicky types find fewer frustrations and may decide that
linux can be useful
While that may be so, it is advantageous if they continue to do things,
behind the scenes, in the traditional way.
* Less re-inventing of the wheel.
* Less surprises when someone customises something following
established instructions.
* Settings for things stored in the same place, whether you work from
the command line or a GUI...
Having said that, the whole BASH config file conglomeration does not
look pretty to me.
Let's say that I want to make an alias that all users can use. I'm not
sure where it goes, bashrc or profile.
less /etc/bashrc
# /etc/bashrc
# System wide functions and aliases
# Environment stuff goes in /etc/profile
Okay, having read that, I'll go look at /etc/profile. It seems to
suggest that aliases go in /etc/profile.
less /etc/profile
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
It seems to suggest that aliases go in /etc/bashrc.
There's some shockingly bad grammar in those opening descriptions. I
can't really tell if the bashrc description is meant to say this file
is for system wide functions and aliases, profile is for environment
stuff. It looks like one long badly typed sentence. Programmers
should write coherent sentences, and it'd help if they used normal
punctuation.
--
[tim@localhost ~]$ uname -rsvp
Linux 4.13.5-200.fc26.x86_64 #1 SMP Thu Oct 5 16:53:13 UTC 2017 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
- And how would you describe Windows?
- One man's trash is another man's treasure...