On Wed, 25 Jun 2003 20:53:57 -0700 Eric Huff <[EMAIL PROTECTED]> uttered:
> If i ctrl-alt-F* to different tty's, is there any way to tell, in a > bash script, which one i logged into? > > I am thinking of having a default login, but run different startups, > for example, if i log into tty2, 3, etc. even better: http://www.linuxselfhelp.com/HOWTO/Bash-Prompt-HOWTO/c203.html you would probably want to assign a variable and have it filled by the output of a command that would tell you what tty you are in. is there such a command? or could you have a custom bash prompt for each tty instead? -- + Joe Hill + Registered Linux user #282046 + Homepage: http://nodex.sytes.net + ICQ# 279518458 + Do what thou wilt, this shall be the + whole of the law.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
