HBLOCK(1) User Commands HBLOCK(1) NAME hBlock - manual page for hBlock 3.4.4 SYNOPSIS hblock [OPTION]... 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. OPTIONS -O, --output , ${HBLOCK_OUTPUT_FILE} Output file location. If equals "-", it is printed to stdout. (default: /etc/hosts) -H, --header , ${HBLOCK_HEADER_FILE} File to be included at the beginning of the output file. If equals "builtin", the built-in value is used. If equals "none", an empty value is used. If equals "-", the stdin content is used. If unspecified and any of the following files exists, its content is used. ${XDG_CONFIG_HOME}/hblock/header /etc/hblock/header (default: builtin) -F, --footer , ${HBLOCK_FOOTER_FILE} File to be included at the end of the output file. If equals "builtin", the built-in value is used. If equals "none", an empty value is used. If equals "-", the stdin content is used. If unspecified and any of the following files exists, its content is used. ${XDG_CONFIG_HOME}/hblock/footer /etc/hblock/footer (default: builtin) -S, --sources , ${HBLOCK_SOURCES_FILE} File with line separated URLs used to generate the blocklist. If equals "builtin", the built-in value is used. If equals "none", an empty value is used. If equals "-", the stdin content is used. If unspecified and any of the following files exists, its content is used. ${XDG_CONFIG_HOME}/hblock/sources.list /etc/hblock/sources.list (default: builtin) -A, --allowlist , ${HBLOCK_ALLOWLIST_FILE} File with line separated entries to be removed from the blocklist. If equals "builtin", the built-in value is used. If equals "none", an empty value is used. If equals "-", the stdin content is used. If unspecified and any of the following files exists, its content is used. ${XDG_CONFIG_HOME}/hblock/allow.list /etc/hblock/allow.list (default: builtin) -D, --denylist , ${HBLOCK_DENYLIST_FILE} File with line separated entries to be added to the blocklist. If equals "builtin", the built-in value is used. If equals "none", an empty value is used. If equals "-", the stdin content is used. If unspecified and any of the following files exists, its content is used. ${XDG_CONFIG_HOME}/hblock/deny.list /etc/hblock/deny.list (default: builtin) -R, --redirection , ${HBLOCK_REDIRECTION} Redirection for all entries in the blocklist. (default: 0.0.0.0) -W, --wrap , ${HBLOCK_WRAP} Break blocklist lines after this number of entries. (default: 1) -T, --template