About Login Bash Script

I am reading Learning the bash Shell.
When we login Linux System,either .bash_profile,.profile,or the .login are executed.

I am using Suse 10
But i can’t find .bash_profile
who can tell me is this login mechanism still works? or the only invoking script is .bashrc

Hope you can understand my question. 3x

> I am using Suse 10

be advised, if you are using SUSE Linux Enterprise Desktop 10 (aka
SLED 10) then you need to recognize that you are posting in the
openSUSE forum…there is a different forum for that at forums.novell.com

which is not to say that you are not welcome here…just that the two
are kin but NOT exactly the same…that is i am pretty certain my
openSUSE 10.3 and your SLED 10 are NOT identical…

BUT, i think you are reading a ‘generic’ bash text and might miss some
of the things that are SPECIFIC to openSUSE (and perhaps SLED)…

and, that is: in my /home directory i have NO .bash_profile but i DO
have a hidden file named .bashrc where i can place some ‘stuff’ which
will only apply to me (and all other users will have in their /home
stuff which applys ONLY to them)…open yours and you will note that
it is SPECIFIC to SUSE…

AND, if you have root access, in /etc/bash.bashrc (also SUSE specific)
you will find stuff to read and set that will apply to ALL users on
the system…AND you will see a note to set things you want to not
get overwritten in a file named /etc/bash.bashrc.local (which will
also, for example, set an alias system wide

i can’t tell you all the things about openSUSE which are not exactly
generic…but, you will run into them all over the place…


natural_pilot