/etc/skel
Tollef Fog Heen
tfheen at canonical.com
Tue Jun 28 06:48:22 CDT 2005
* Guillermo Gutiérrez Herrera
| I'd like tell you an idea: why not make a
| default /etc/skel/.bash_aliases that contains:
|
| alias exit='clear; logout 2> /dev/null';
| alias logout="exit";
|
| Then, when sb type exit (or logout), the console flushes and nobody can
| read what he wrote.
Because it's really annoying to have the console cleared out when
you're ssh-in into a system.
case "`tty`" in
/dev/tty[0-9]|/dev/vc/*) clear
esac
in .zlogout/.bash_logout is so much better.
:-)
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
More information about the ubuntu-devel
mailing list