nics(1)

πŸ’– nics β€” the Host Network Interface Enumerator πŸ’–

okay bestie, gather round, because nics is about to hand you every network interface on your host like it's a lil friendship bracelet. ✨


πŸŽ€ SYNOPSIS πŸŽ€

nics

that's it. no flags required, no drama, no arguments. just vibes. πŸ’…


🌸 DESCRIPTION 🌸

so what does she do? nics goes looking around your host for Ethernet interfaces and then shows you, on stdout:

  • the interface index
  • the hardware address
  • the IP address
  • the interface name
  • the interface description

and the way it lays all that out? iconic. it's a simple, consistent, cross-platform format specifically made for feeding interface info to scripts and user applications. no cap, it's giving "I was built for automation" and honestly, obsessed. 🫢


πŸ’¬ COMMENTS πŸ’¬

ngl this program is basically a little demo β€” it shows off how you use the basic Atheros Ethernet interface C functions. if you want the C++ glow-up instead, go peek at the program ifs. two icons, one job. πŸ‘‘


✨ OPTIONS ✨

  • -?, --help β€” prints the program help summary on stdout. and listen: this one takes precedence over every other option on the command line. she goes first, periodt. πŸ’…
  • -!, --version β€” prints the program version information on stdout. this one also takes precedence over the other options on the command line. πŸŽ€ and bestie, please use this when you're sending screen dumps to Intellon Technical Support β€” that way they know exactly which version of the Linux Toolkit you're running. no guessing, no "um which build was it", just receipts. 🧾✨

πŸ¦‹ ARGUMENTS πŸ¦‹

None. zero. nada. she needs nothing from you. 🌸


🌈 EXAMPLES 🌈

πŸ’œ example one β€” a Linux host πŸ’œ

this one searches a Linux host and shows you what interfaces are hanging around:

# nics
2 00:50:04:A5:D8:98 000.000.000.000 eth4 eth4
3 00:0F:EA:4B:98:CB 192.168.172.239 eth3 eth3

look at her go. πŸ₯Ή


πŸ“ example two β€” a MacOSX host πŸ“

same energy, different platform:

# nics
4 00:26:BB:52:DD:A8 192.168.172.149 en0 en0
6 04:1E:64:F0:FB:EC 000.000.000.000 en1 en1

and notice something cute β€” the interface names are varied over here. en0, en1… not the eth-core you saw on Linux. she adapts, she's flexible, she's the moment. πŸ’…πŸ¦‹


πŸ‘€ SEE ALSO πŸ‘€

amp(1), ifs(1), nics(1), pcapdevs(1), plcnets(1)

go read your sisters too, they're all icons. πŸ’–


πŸ‘‘ CREDITS πŸ‘‘

Charles Maier


and that's the whole page, bestie!! this absolute banger comes to you from open-plc-utils-0.0.3, dated November 2013 β€” old but still slaying, fr fr. mwah, go enumerate some interfaces. πŸ˜­πŸ’–πŸŽ€