In order to customize the bash shell where do I place alias, set and export statements? Thanks in advance.
Stephen P. Molnar, Ph.D. wrote:
In order to customize the bash shell where do I place alias, set and export statements?
man bash FILES /bin/bash The bash executable /etc/profile The systemwide initialization file, executed for login shells ~/.bash_profile The personal initialization file, executed for login shells ~/.bashrc The individual per-interactive-shell startup file ~/.bash_logout The individual login shell cleanup file, executed when a login shell exits ~/.inputrc Individual readline initialization file /etc/inputrc System readline initialization file -- Silviu Marin-Caea Systems Engineer Linux/Unix http://www.genesys.ro Phone +4093-267961
On Tue, Apr 30, 2002 at 07:21:03AM -0400, Stephen P. Molnar, Ph.D. wrote:
In order to customize the bash shell where do I place alias, set and export statements?
Thanks in advance.
The SuSE bash initialization files look for a $HOME/.alias file and source it if it exists, that's the best place for personal aliases. The best place for personal shell variables is $HOME/.bashrc since it is sourced for all types of shells (login, interactive, non-interactive). Check out the SuSE unofficial FAQ for all the behind the scenes setup of bash shells in SuSE: http://susefaq.sourceforge.net/ Best Regards, Keith -- LPIC-2, MCSE, N+ Got spam? Get spastic http://spastic.sourceforge.net
Normally, these are placed in your .bashrc file. On 30 Apr 2002 at 7:21, Stephen P. Molnar, Ph.D. wrote:
In order to customize the bash shell where do I place alias, set and export statements?
Thanks in advance.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
-- Jerry Feldman Portfolio Partner Engineering 508-467-4315 http://www.testdrive.compaq.com/linux/ Compaq Computer Corp. 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752
participants (4)
-
Jerry Feldman
-
Keith Winston
-
Silviu Marin-Caea
-
Stephen P. Molnar, Ph.D.