Count cPanel accounts using whmapi1 and jq
The command is using whmapi1 and jq and needs to run as root. whmapi1 listaccts want=user –output=json | jq ‘.data.acct | length’ This command does:
Tips, tricks, how-to, tutorials – all about Information Technology – Since 2004
The command is using whmapi1 and jq and needs to run as root. whmapi1 listaccts want=user –output=json | jq ‘.data.acct | length’ This command does: