ClamAV Command not found error

umarmeo

Member
Jan 24, 2014
13
0
51
cPanel Access Level
Root Administrator
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Please utilize the following path for clamscan:

Code:
/usr/local/cpanel/3rdparty/bin/clamscan
Thank you.
 

umarmeo

Member
Jan 24, 2014
13
0
51
cPanel Access Level
Root Administrator
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.