#!/bin/sh sudo -u tor cat /var/lib/tor/hidden_service/hostname || echo "no hidden service configured"