| October 2025 | ||||||
| Mo | Tu | We | Th | Fr | Sa | Su |
| 29 | 30 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | 1 | 2 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
$ libnetcfg
# old config ./libnet.cfg
daytime_hosts ntp1.none.such
ftp_int_passive 0
ftp_testhost ftp.funet.fi
inet_domain none.such
nntp_hosts nntp.none.such
ph_hosts
pop3_hosts pop.none.such
smtp_hosts smtp.none.such
snpp_hosts
test_exist 1
test_hosts 1
time_hosts ntp.none.such
# libnetcfg -h for help
$
It tells where the old configuration file was found (if found).
The "-h" option will show a usage message.
To change the configuration you will need to use either the "-c" or the "-d" options.
The default name of the old configuration file is by default ``libnet.cfg'', unless otherwise specified using the -i option, "-i oldfile", and it is searched first from the current directory, and then from your module path.
The default name of the new configuration file is ``libnet.cfg'', and by default it is written to the current directory, unless otherwise specified using the -o option, "-o newfile".
Jarkko Hietaniemi, conversion into libnetcfg for inclusion into Perl 5.8.