NFDC(1)

πŸ“¦
version 24.07 Β· 2 versions
, in nixos 26.05

πŸ‘‘ NFDC(1) β€” the NFD command-line glow-up πŸ’…

okay bestie, welcome to nfdc, part of the Named Data Networking Forwarding Daemon (NFD) family β€” this is the little icon that manages a running NFD from your terminal, and honestly it's giving main character energy ✨


🌸 NAME 🌸

nfdc β€” manage a running NFD from the command line, fr fr 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

nfdc COMMAND [ARGUMENTS]...
nfdc help [COMMAND]
nfdc [-h|--help]
nfdc -V|--version
nfdc -f|--batch file

✨ DESCRIPTION ✨

so nfdc is a command-line tool that manages a running instance of NFD. that's the whole vibe πŸ’œ

all of its features live inside subcommands β€” like, everything is organized into little named actions. to print a list of all subcommands, just run nfdc with no arguments at all (yes, doing nothing does something, iconic). and to see how to use a specific subcommand, run nfdc help followed by the subcommand name πŸŽ€


πŸ’… OPTIONS πŸ’…

  • <COMMAND> β€” a subcommand name. it usually contains a noun and a verb, iykyk 🧚
  • <ARGUMENTS> β€” the arguments you're handing to that subcommand, no cap.
  • -h, --help β€” print a list of available subcommands and exit. cute and helpful, a true bestie 🌈
  • -V, --version β€” show version information and exit. short and sweet ⭐
  • -f <file>, --batch <file> β€” process the list of arguments specified in file as if they would have appeared on the command line. when you're running a sequence of commands in rapid succession from a script, this option ensures that the commands are properly timestamped and can therefore be accepted by NFD πŸ”₯ (yes, this is the actual point of it β€” timestamping, not just "batch go brrr").
okay important stuff, listen up πŸ™ˆ when necessary, arguments should be escaped using a backslash (\), single quotes ('), or double quotes ("). if any of the commands fail, processing will stop at that command and nfdc will exit with error code 2. empty lines and lines that start with the # character are ignored. and note: the batch file does not support empty string arguments ("" or ''), even if they would normally be supported on the regular command line of nfdc. that's a real limitation, not a vibe β€” plan accordingly πŸ’€

πŸ“ EXAMPLES πŸ“

nfdc β€” list all subcommands. that's it. that's the whole command. slay ✨

nfdc help face create

show how to use the nfdc face create subcommand πŸŽ€


πŸ”₯ SEE ALSO πŸ”₯

nfd(1), nfdc-cs(1), nfdc-face(1), nfdc-route(1), nfdc-status(1), nfdc-strategy(1) β€” go read those too, they're all part of the friend group 🫢


Copyright Β© 2014-2024 Named Data Networking Project.


and that's the whole page, bestie πŸ’– this was the NFD manual, version 24.07, dated 1980-01-01 (yes, that date is a whole mood, don't ask 😭). now go manage that forwarder β€” you've got this, periodt πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from