ClamAV Command not found error
Hello,
I have installed ClamAV via WHM and it is working fine if I scan a website from its cpanel account.
But I want to scan accounts or full home dir via SSH.
I am trying to run the command
clamscan -ri /home
clamscan -r -i /home
but for every command which I am trying by searching I am getting
-bash: clamscan: command not found
Please guide me how to solve this issue.
Thanks
-
Hello :) Please utilize the following path for clamscan: /usr/local/cpanel/3rdparty/bin/clamscan
Thank you.0 -
Hello I am not able to access this path. Please chrck below. root@xyz [~]# cd /usr/local/cpanel/3rdparty/bin/clamscan -bash: cd: /usr/local/cpanel/3rdparty/bin/clamscan: Not a directory root@xyz [~]# 0 -
Hello Sorry, I got it. First, I was thinking that I have to be in that directory to run commands. but it is working directly. :) Thank you. 0
Please sign in to leave a comment.
Comments
3 comments