Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Thanks (It was Re: tlug: ls colorful)



>>>>> "Marcos" == Marcos Campos <marcospbc@example.com> writes:

    Marcos> Some people suggested me to modify the file ./bashrc
    Marcos> others to modify the file bashrc.

/etc/bashrc is a non-standard extension used by some distros.  The
idea is that the sysadmin wants all users to get the benefit of
certain customizations.  It is also sometimes used to implement some
common functionality in ~/.bashrc and ~/.bash_profile.

It is implemented by doing `source /etc/bashrc' as the first thing in
/etc/skel/.bashrc (which is copied to the user's home directory when a
new user is created).  (Common functionality is implemented by
sourcing it in both startup files.)

Stuff like the `ls' alias discussed here is borderline for multi-human
systems; some people don't like the "angry fruit salad" effect, and it
can be impossible to read a colorized listing if you change your eterm
background ;-)  You should probably _not_ set PATH or make complex
aliases in /etc/bashrc if /root/.bashrc sources it.  (The needs of
root are very different from those of ordinary users.)

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links