LIBNETCFG(1)
okay so welcome to the LIBNETCFG(1) page, bestie ๐ โ we're talking about libnetcfg, the utility that configures libnet. no cap, it's giving practical and iconic โจ
โจ NAME โจ
libnetcfg โ configure libnet ๐
๐ธ DESCRIPTION ๐ธ
The libnetcfg utility can be used to configure libnet. Starting from perl 5.8, libnet is part of the standard Perl distribution โ but bestie, libnetcfg can be used for any libnet installation. ๐ฆ
๐ USAGE ๐
Without arguments, libnetcfg displays the current configuration. like, zero arguments, zero stress ๐ซถ
$ 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 you where the old configuration file was found โ if it was found, periodt. ๐
The -h option will show a usage message. helpful queen behavior โจ
To change the configuration you will need to use either the -c or the -d options. iykyk ๐
okay so the options in question, bestie:
-hโ will show a usage message. short and sweet-cโ one of the two options you'll need to use to change the configuration (the other is-d). ๐-dโ the other option you'll need to use to change the configuration (alongside-c). ๐-ioldfile โ the option for specifying a different old configuration file; the literal invocation is-i oldfile. ๐-onewfile โ the option for specifying a different new configuration file; the literal invocation is-o newfile. ๐
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. first current dir, then module path โ got it? ๐ฆ
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. default new file goes in the current directory, periodt ๐
๐ฆ SEE ALSO ๐ฆ
Net::Config, libnetFAQ โ go read these too, bestie ๐
๐ AUTHORS ๐
Graham Barr โ the original Configure script of libnet. legend behavior โจ
Jarkko Hietaniemi โ conversion into libnetcfg for inclusion into Perl 5.8. also iconic ๐ซถ
and that's the whole LIBNETCFG(1) page, bestie ๐ซถ this was perl v5.42.3, dated 2026-11-03 โ bye, love you, go configure libnet ๐
๐ฆ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms