[ale] detecting terminal from bash_profile or login script?

Chris Coleman ChrisColeman at mail.clayton.edu
Sun Jul 4 00:20:01 EDT 2004


Try the tty command.
 
Chris 

________________________________

From: ale-bounces at ale.org on behalf of Christopher Bergeron
Sent: Sat 7/3/2004 11:51 PM
To: ale at ale.org
Subject: [ale] detecting terminal from bash_profile or login script?



Does anyone know how I can detect what terminal I've logged in on from
the .bashrc or .bash_profile file(s)?

I'd like to customize my prompt (and other things) to let me know which
tty I'm on.

Anyone have any ideas?

Thanks in advance!
-CB


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3752 bytes
Desc: not available




More information about the Ale mailing list