How TolinuxupdatePlesk
Plesk “plesk: command not found”
If you’ve tried using plesk
in a Bash script and you’re encountering the error plesk: command not found
, the fix is very simple – you just need to prepend plesk
with the location of the executable.
plesk
should be located at /sbin/plesk
, so update your Bash script as follows:
Before:
plesk db "query"
After:
/sbin/plesk db "query"