LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rfc

Read IETF RFCs from the terminal

TLDR

Open an RFC by number
$ rfc [791]
copy
Search RFCs by keyword (if supported by build)
$ rfc [search-term]
copy

SYNOPSIS

rfc *number*|*query*

DESCRIPTION

rfc fetches and displays IETF Request for Comments documents in the terminal, so you can read protocol specifications without a browser. Implementations commonly page through text via $PAGER. The widely packaged tool from bfontaine/rfc is a small shell wrapper around remote RFC text sources.

PARAMETERS

*number*

RFC number to retrieve (e.g. 7231).
Behavior for keyword search, local caching, and offline mirrors depends on the version—run rfc -h or read the script header.

INSTALL

sudo pacman -S rfc
copy
nix profile install nixpkgs#rfc
copy

CAVEATS

Requires network access unless a local RFC collection is configured. Formatting is plain text; some RFCs are better read as PDF/HTML on the IETF site.

SEE ALSO

curl(1), less(1), man(1)

RESOURCES

Copied to clipboard
Kai