LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] grep or awk

[ILUG] grep or awk

Patton, Tony Tony.Patton at NWIFHE.AC.UK
Mon Sep 10 17:54:50 IST 2001


i haven't come across a hostname in the output yet.

-----Original Message-----
From: Aidan Kehoe [mailto:kehoea at parhasard.net]
Sent: 10 September 2001 17:33
To: Patton, Tony
Cc: ilug at linux.ie
Subject: RE: [ILUG] grep or awk 



 Ar an 10u la de mi 9, scriobh Patton, Tony :

 > there is no plan to upgrade anytime soon.
 > 
 > the reason that i am looking to do this is that we have a lot of
users
 > who connect to an oracle database over telnet and print by going thru
a
 > menu of printers.
 > 
 > this list is getting crowded, (about 8 or so), so i want to provide
 > different menus for the users depending on their ip address. ie
 > 172.200.20.x = mis printers, 172.200.30.x = administration printers.

Could be ugly if they're logging on from someplace that shows up as a
hostname, not an IP address. But I suppose your default case will
cover that. 

-- 
`... when the elephant man broke strong men's necks, when he'd had too 
many Powers, ...'




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell