Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Debian GNU/Linux Reference Guide
Prev Home Next

3.2 Bash configuration

I modify shell startup scripts to my taste across the system:

     /etc/bash.bashrc        Replace with private one
     /etc/profile            Keep distribution copy ( \w -> \W)
     /etc/skel/.bashrc       Replace with private copy
     /etc/skel/.profile      Replace with private copy
     /etc/skel/.bash_profile Replace with private copy
     ~/.bashrc               Replace with private copy for all accounts
     ~/.profile              Replace with private copy for all accounts
     ~/.bash_profile         Replace with private copy for all accounts

See details in my example scripts. I like a transparent system, so I set umask to 002 or 022.

PATH is set by the following configuration files in this order:

     /etc/login.defs  - before the shell sets PATH
     /etc/profile     (may call /etc/bash.bashrc)
     ~/.bash_profile  (may call ~/.bashrc)

Debian GNU/Linux Reference Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire