On Thu, 28 May 1998 [EMAIL PROTECTED] wrote:
> > What is the best way to get the current console's tty? I know tty does the
> > job, but how do I find the name WITHOUT the /dev/ ? i.e. tty1, tty2, tty3
> > etc? I want to use it with bl in a script.
>
> tty | cut -c 6-
>
> =)
Thanks!
Michael Beattie ([EMAIL PROTECTED])
-------------------------------------------------------------------------------
Friends are relatives you make for yourself.
-------------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]