home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
util
/
newshostname
< prev
next >
Wrap
Text File
|
1994-11-27
|
223b
|
9 lines
#! /bin/sh
# newshostname - print the hostname known to the news system
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/etc/news/bin/config}
PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
cat $NEWSCTL/whoami