[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: clearing screen after logout & login screen



> > > jim r said
> > > > How do I clear the screen after logout? so...instead of walking up
on
> > > > the remnants of the X server terminating and a login prompt, all
that
> > > > shows on the screen is the login prompt... what script is it?
> > > >
> > > Personally, I don't like the shell-specific solutions.  As system
> > > administer I like having this sort of configuration as simple as
possible.
> > 
> > Wouldn't a better solution be for "exit" to clear the screen?
> > As if you mess with the /etc/issue after booting, it will clear
> > what is shown....
> > 
> > Anyone know how to add a clear screen to the exit command?
> 
> As has been stated before; in .bash_profile or /etc/profile use
> 
> trap clear EXIT

Isn't that too bash-specific ? I'd prefere /etc/issue*

Best regards

Juergen Fornoff


Reply to: