On Tue, 2001-12-04 at 21:54, John Weez wrote: > > Hi all.. > > I want to issue a command the first time a user logs in from the X windows > login screen. > > I currently have a command in .bashrc which works..but everytime i open a > new shell it spawns a new process...i only want the command to be issued > when that user logs in...is there a script file that only gets run once > when a user logs in?? > > John
Place the command in .bash_profile. It is only read for login shells. Regards, Jim H
msg65740/pgp00000.pgp
Description: PGP signature