PSL(1)
π PSL(1) β like, the manual for psl π
okay bestie, sit down, hydrate, and let's talk about psl β a lil command-line bestie from the User Commands section of the manual that is genuinely SO good at what it does. π¦
β¨ NAME β¨
psl β explore the Public Suffix List. that's it, that's the whole vibe. π
β¨ SYNOPSIS β¨
psl [options] <domains...>
β¨ DESCRIPTION β¨
so here's the tea, bestie β β psl goes exploring in the Public Suffix List. it takes a whole list of domains right there on the command line (iconic), orrrrr if you don't hand it any domains on the command line, it'll read one domain per line from standard input instead. no pressure, it's flexible like that. π
then it prints its results to standard output, and the format is chef's kiss: every line has one domain, then a colon, then the relevant info for that domain. every. single. line. consistent. we love. β¨
π MODES π
the info it prints per domain changes depending on which mode you picked. the available modes are, in order, no skipping:
--is-public-suffixβ checks if the domains are public suffixes. this one is the [default], so if you don't say otherwise, this is what you get. π returned data:1if the domain is a public suffix,0otherwise. you can combine this option with--no-star-rule. using it will switch off the PSL 'prevailing star rule' so that all TLDs that are not explicitly listed in the PSL will return0(aka not a public suffix). no vibes-based guessing, just facts. π--is-cookie-domain-acceptable <cookie-domain>β checks if cookie-domain is acceptable for the domains. πͺ returned data:1if cookie-domain is acceptable for the domain,0otherwise.--print-unreg-domainβ returned data: the longest public suffix part for each domain.--print-reg-domainβ returned data: the shortest private suffix part for each domain.
π VERSION INFORMATION π
psl can, instead of all that, be used to report info about the version of the library and its built-in Public Suffix data. so if you're feeling nosy (respectfully), this is your moment:
--versionβ show library version information π--print-infoβ print info about the library's builtin data π
πΈ PUBLIC SUFFIX DATA πΈ
by default, psl will use the latest available Public Suffix data β keeping it fresh, keeping it current, periodt. β¨ but you can also point it at a different file if you want:
--use-latest-dataβ use the latest available PSL data [default] π--use-builtin-dataβ use the builtin PSL data π§--load-psl-file <filename>β load PSL data from filename π
π₯ SEE ALSO π₯
iykyk. go read them, bestie. π
π COPYRIGHT π
libpsl and psl are copyright Β© Tim RΓΌhsen and Libpsl contributors under an MIT-style License.
this documentation was written by Daniel Kahn Gillmor for the Debian project, but may be used by others under the same license as libpsl itself. π«Ά
and that's the whole manual, bestie!! no notes, it ate, it devoured, zero crumbs left. π β¨
k bye, this was psl 0.23.3, documented back in August 2026, living in section PSL(1) of the manual. drink water, read your man pages, mwah πππ¦
π¦ where this page comes from
- ubuntu stonking: psl 0.23.3-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms