[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RAQ3i] Determining site number for domain
- Subject: [cobalt-users] [RAQ3i] Determining site number for domain
- From: "Brad Rathbun" <brad@xxxxxxxxxxxxxxx>
- Date: Wed Jul 5 12:31:49 2000
- Organization: CyberHighway of Northern Nevada
I'm trying to automate a script I use regularly. Is there an easy way to
turn a FQDN into a site number from a bash script? Or maybe a file I could
easily grep for it? So far, the best I've come up with is to do 'ls -l
www.domain.com' and then do a find. Works, but seems a bit convoluted.
Anyone have a better way to do this? A search of the 800+ articles in the
archives that I went through yielded nothing useful. 8^(
TIA
-----------------------------------------------
Brad Rathbun
Follow the Leader! CompuTech Internet Services