|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1008 (0x3f0) Types: TextFile Notes: UNIX file Names: »hostmgmt«
└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2 └─⟦8c4f54e61⟧ UNIX Filesystem └─⟦this⟧ »hb/new/usr/admin/menu/packagemgmt/tcpipmgmt/hostmgmt«
#ident "@(#)hostmgmt 3.2 - 88/11/30" #ident "@(#)hostmgmt 1.1 - 87/07/28" #menu# manage tcp/ip hosts entries (list, add, delete) #help# #help# This subcommand allows you to list, add, or delete #help# tcp/ip hosts information. PACKAGE="Extended Networking Utilities" PATH=:/bin:/usr/bin:/usr/lbin HOST=/etc/hosts EQUIV=/etc/hosts.equiv XDIR=$MENUTOP/menu/packagemgmt/tcpipmgmt cd $XDIR cmdlist=' 1 list 2 add 3 delete ' flags="-qq -k$$" trap exit 1 2 15 echo " This procedure is used to list, add, and delete entries in the $PACKAGE '$HOST' file. Type 'q' at any time to quit the current operation. If a '?' appears as a choice, type '?' for help. If a default appears in the question, type <RETURN> for the default. " while true do CMD=`chkyn ${flags} -fec -Dlist " Enter the operation you want to perform: ${cmdlist} (default list)[q]: " ${cmdlist}` case "$CMD" in list|1) /bin/sh lshost ;; add|2) /bin/sh addhost ;; delete|3) /bin/sh delhost ;; *) break; ;; esac done