.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH HBLOCK "1" "January 2024" "hBlock 3.4.4" "User Commands" .SH NAME hBlock \- manual page for hBlock 3.4.4 .SH SYNOPSIS .B hblock [\fI\,OPTION\/\fR]... .SH DESCRIPTION hBlock is a POSIX\-compliant shell script that gets a list of domains that serve ads, tracking scripts and malware from multiple sources and creates a hosts file, among other formats, that prevents your system from connecting to them. .SH OPTIONS .HP \fB\-O\fR, \fB\-\-output\fR , ${HBLOCK_OUTPUT_FILE} .IP Output file location. .IP If equals "\-", it is printed to stdout. .IP (default: \fI\,/etc/hosts\/\fP) .HP \fB\-H\fR, \fB\-\-header\fR , ${HBLOCK_HEADER_FILE} .IP File to be included at the beginning of the output file. .IP If equals "builtin", the built\-in value is used. .IP If equals "none", an empty value is used. .IP If equals "\-", the stdin content is used. .IP If unspecified and any of the following files exists, its content is used. .IP ${XDG_CONFIG_HOME}/hblock/header .IP \fI\,/etc/hblock/header\/\fP .IP (default: builtin) .HP \fB\-F\fR, \fB\-\-footer\fR , ${HBLOCK_FOOTER_FILE} .IP File to be included at the end of the output file. .IP If equals "builtin", the built\-in value is used. .IP If equals "none", an empty value is used. .IP If equals "\-", the stdin content is used. .IP If unspecified and any of the following files exists, its content is used. .IP ${XDG_CONFIG_HOME}/hblock/footer .IP \fI\,/etc/hblock/footer\/\fP .IP (default: builtin) .HP \fB\-S\fR, \fB\-\-sources\fR , ${HBLOCK_SOURCES_FILE} .IP File with line separated URLs used to generate the blocklist. .IP If equals "builtin", the built\-in value is used. .IP If equals "none", an empty value is used. .IP If equals "\-", the stdin content is used. .IP If unspecified and any of the following files exists, its content is used. .IP ${XDG_CONFIG_HOME}/hblock/sources.list .IP \fI\,/etc/hblock/sources.list\/\fP .IP (default: builtin) .HP \fB\-A\fR, \fB\-\-allowlist\fR , ${HBLOCK_ALLOWLIST_FILE} .IP File with line separated entries to be removed from the blocklist. .IP If equals "builtin", the built\-in value is used. .IP If equals "none", an empty value is used. .IP If equals "\-", the stdin content is used. .IP If unspecified and any of the following files exists, its content is used. .IP ${XDG_CONFIG_HOME}/hblock/allow.list .IP \fI\,/etc/hblock/allow.list\/\fP .IP (default: builtin) .HP \fB\-D\fR, \fB\-\-denylist\fR , ${HBLOCK_DENYLIST_FILE} .IP File with line separated entries to be added to the blocklist. .IP If equals "builtin", the built\-in value is used. .IP If equals "none", an empty value is used. .IP If equals "\-", the stdin content is used. .IP If unspecified and any of the following files exists, its content is used. .IP ${XDG_CONFIG_HOME}/hblock/deny.list .IP \fI\,/etc/hblock/deny.list\/\fP .IP (default: builtin) .HP \fB\-R\fR, \fB\-\-redirection\fR , ${HBLOCK_REDIRECTION} .IP Redirection for all entries in the blocklist. .IP (default: 0.0.0.0) .HP \fB\-W\fR, \fB\-\-wrap\fR , ${HBLOCK_WRAP} .IP Break blocklist lines after this number of entries. .IP (default: 1) .HP \fB\-T\fR, \fB\-\-template\fR