nl-classid-lookup(8)
π nl-classid-lookup β the manual, but make it cute π
okay so bestie, welcome to nl-classid-lookup, section 8 of the System Manager's Manual (that's the sysadmin-y corner of the man pages, iykyk). she's a libnl tool, she's tiny, she's iconic, and she does exactly one job and does it flawlessly. periodt. β¨
πΈ NAME πΈ
nl-classid-lookup β look up classid definitions, bestie. that's it. that's the whole name section. π
π¦ SYNOPSIS π¦
nl-classid-lookup [-hv] [-r] [--raw] name
π DESCRIPTION π
okay so here's the tea: nl-classid-lookup goes digging through the classid database looking for a matching entry. it's the little tool you use to turn qdisc/class names into classid valuesβ¦ and also the other way around, because she's versatile like that. πβοΈ
basically: name in, classid out. or classid in, name out. a queen who can do both directions. π
β¨ OPTIONS β¨
-h,--helpβ prints the help text straight to your console and then dips. exit, stage left. π«Ά-v,--versionβ prints the versioning info to the console and bounces. very "hi, this is who i am, bye". π-r,--reverseβ does a reverse lookup. so instead of name β classid, you feed her a classid and she prints the name. iconic behaviour, no notes. π--rawβ prints the raw classid in hexadecimal format. no pretty printing, no glow-up, just the raw hex, unedited, no filter. π
π USAGE π
want to resolve the qdisc/class name "interactive"? say less:
# nl-classid-lookup interactive
want to go the other way and look up the name of classid 1:2? reverse girlie:
# nl-classid-lookup -r 1:2
π FILES π
/etc/libnl/classid
that's where the database lives, bestie. that's her home. π
π AUTHOR π
Thomas Graf is the original author and current maintainer of libnl and the libnl tools. and like, many people have contributed to it since. a whole squad. a collective. we love to see it. π«Άβ¨
reminder bestie: every flag, every path, every example above is exactly as the original says it. i would never lie to you about a --raw. π
and that's a wrap! this page is from libnl, dated 19 October 2010 β yes she's vintage, and yes she still slays. mwah. π πΈπ
π¦ where this page comes from
- alpine 3.22: libnl3-doc 3.11.0-r0 Β· LGPL-2.1-or-later
- alpine 3.23: libnl3-doc 3.11.0-r0 Β· LGPL-2.1-or-later
- alpine 3.24: libnl3-doc 3.11.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libnl 3.12.0-1 Β· LGPL-2.1-only
- centos-stream 10: libnl3-cli 3.11.0-1.el10 Β· LGPL-2.1-only
- centos-stream 9: libnl3-cli 3.11.0-1.el9 Β· LGPL-2.1-only
- centos-stream 9: libnl3-cli 3.11.0-1.el9 Β· LGPL-2.1-only
- debian bookworm: libnl-utils 3.7.0-0.2+b1
- debian trixie: libnl-utils 3.7.0-2
- fedora 43: libnl3-cli 3.11.0-6.fc43 Β· LGPL-2.1-only
- fedora 43: libnl3-cli 3.11.0-6.fc43 Β· LGPL-2.1-only
- fedora 43: libnl3-cli 3.12.0-2.fc43 Β· LGPL-2.1-only
- fedora 43: libnl3-cli 3.12.0-2.fc43 Β· LGPL-2.1-only
- fedora 44: libnl3-cli 3.12.0-3.fc44 Β· LGPL-2.1-only
- fedora 44: libnl3-cli 3.12.0-3.fc44 Β· LGPL-2.1-only
- nixpkgs unstable: libnl 3.12.0
- opensuse-leap 16.0: libnl-tools 3.11.0-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: libnl-tools 3.11.0-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: libnl-tools 3.11.0-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: libnl-tools 3.11.0-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: libnl-utils 3.5.0-0.1
- ubuntu noble: libnl-utils 3.7.0-0.3build1
- ubuntu noble: libnl-utils 3.7.0-0.3build1.1
- ubuntu questing: libnl-utils 3.7.0-2build1
- ubuntu resolute: libnl-utils 3.12.0-2
- ubuntu stonking: libnl-utils 3.12.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms