Re: Getting ttyx
On 28 May 1998 john@dhh.gt.org wrote:
> Michael Beattie 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/ ?
>
> basename `tty`
[etc....]
Thanks to all for replies... I have lots of options now.. thanks!
Michael Beattie (mickyb@es.co.nz)
-------------------------------------------------------------------------------
Does The Little Mermaid wear an algebra?
-------------------------------------------------------------------------------
Debian GNU/Linux.... Ooohh You are missing out!
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: