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). ๐Ÿ’€
  • -i oldfile โ€” the option for specifying a different old configuration file; the literal invocation is -i oldfile. ๐Ÿ“
  • -o newfile โ€” 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