tldextract(1)
β¨ tldextract β the manual, but make it cute β¨
okay so bestie, let me put you on. this is tldextract, a little program from the General Commands Manual, and it separates the generic or country code top-level domains from the registered domain and subdomains of a URL. like it literally takes a URL apart and tells you which piece is which. it's giving surgeon but for domain names π
πΈ SYNOPSIS πΈ
tldextract [options] fqdn | url
so you hand it either an fqdn or a url, plus whatever [options] you're feeling, and it does the thing. periodt.
π DESCRIPTION π
This manual page briefly documents the tldextract command. that's it, that's the vibe β short and sweet, no yapping π«Ά
π OPTIONS π
These programs follow the usual GNU command line syntax, with long options starting with two dashes (-). A summary of options is included below. ngl the GNU syntax thing is just the standard rules of the road, we love consistency here π
-h,--helpβ Show summary of options. your little "what do I even do" lifeline, use it whenever π§--versionβ Show version of program. so you know exactly which era oftldextractyou're living in β-u,--updateβ Force fetch the latest TLD definitions. yes bestie, "force" β it goes and gets the fresh ones on purpose π₯-c,--cache-file CACHE_FILEβ Use an alternate TLD definition file. you pass it aCACHE_FILEand it uses that one instead of the usual π-p,--private-domainsβ Include private-domains. they're in the mix now, no cap π
note: the option list is exactly these five, don't go inventing more, i see you π
π SEE ALSO π
For more information about tldextract see https://github.com/john-kurkowski/tldextract β the source of truth, the mothership, go read it if you want the deep lore π¦
okay and for the cute sign-off: this lil page came out of the General Commands Manual, dated February 10 2018, and it's for tldextract(1) β so go forth and split some domains, you absolute main character πβ¨
π¦ where this page comes from
- debian bookworm: tldextract 3.1.2-2 Β· BSD-3-Clause
- debian trixie: tldextract 5.1.2-1 Β· BSD-3-Clause
- ubuntu jammy: tldextract 3.1.2-1 Β· BSD-3-Clause
- ubuntu noble: tldextract 3.1.2-2 Β· BSD-3-Clause
- ubuntu questing: tldextract 5.1.2-1
- ubuntu resolute: tldextract 5.1.2-2 Β· BSD-3-Clause
- ubuntu stonking: tldextract 5.3.1-2 Β· BSD-3-Clause
- Copyright 2018 Ana Custura <ana@netstat.org.uk>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms