tty|cut -c6-
Bob

> From: [EMAIL PROTECTED] (Michael Beattie)
> Sender: [EMAIL PROTECTED] (Michael Beattie)
> Date: Thu, 28 May 1998 18:49:38 +1200 (NZST)
> 
> 
> 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.


-- 
   _
  |_)  _  |_       Robert D. Hilliard    <[EMAIL PROTECTED]>
  |_) (_) |_)      Palm City, FL  USA    PGP Key ID: A8E40EB9


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to