Re: Debian equivalent of .login file?
-----BEGIN PGP SIGNED MESSAGE-----
On Monday 14 October 2002 4:33 pm, Kjetil Kjernsmo wrote:
> On Sunday 13 October 2002 20:37, Mathias De Belder wrote:
> > On Sun, Oct 13, 2002 at 01:27:36PM -0400, Levi Waldron wrote:
> > > What's the Debian equivalent of Unix's .login and .logout files?
> > > Any user can place these files in their home directory and their
> > > commands will be run at login/logout, without having to do anything
> > > as root?
> > .bashrc and .bash_logout respectively. .bashrc should be sourced from
> > .bash_profile.
> Is there any similar things for KDM? I want some stuff ran when I log in
> on the machine, and some stuff on logout.
I am pretty sure the standard debian kdm startup uses ~/.xsession
If you run console then .bashrc gets run
.bash_profile also gets run at somepoint, I am not sure when, but I use it to
set ~/bin into the path and it seems to be set.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
-----END PGP SIGNATURE-----