[Gllug] Putting 'who' info in prompt...

Tethys tet at createservices.com
Thu Mar 4 12:33:30 UTC 2004


Dylan writes:

>When doing admin, I often log into a box on more than one (local) 
>console - thing it, this can easily result in one getting left logged 
>in...
>
>Does anyone know a way to get an indication in the prompt as to, for 
>example, how many sessions are logged into a machine?

See bash(1) and look for PROMPT_COMMAND.

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list