On Fri, May 29, 1998 at 02:55:22PM +1200, 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! The one thing about Linux and UNIX in general is that there's more than one way to skin a cat and they all work fine. =>
Attachment:
pgpSsAPA29U1g.pgp
Description: PGP signature