Skip to content

CPanel: Dockroot Check

Warren G Brown edited this page Sep 8, 2022 · 1 revision

Docroot check

list cpanel docroots

find /var/cpanel/userdata/ -type f | xargs grep documentroot | awk -F":" '{print$1}' | egrep -v "(cache|SSL|nobody)" | xargs grep documentroot | awk -F":" '{print $3}'
Clone this wiki locally