Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I scanned pen drive using clamscan and I closed the terminal after scanning without reading the result.

Now one of my folders on the pen drive is missing. I wanted to know if clamav deleted it.

So I want to view the last scan result.

share|improve this question

2 Answers 2

up vote 6 down vote accepted

There is no log file by default - the output goes to stdout.

In order to have a log specify it with the -l option i.e. -l clamav.log

share|improve this answer

simply create a file e.g. example01.txt with nautilus/file-manager then in terminal

clamscan <-parameter> >> example01.txt

share|improve this answer
    
Thanks for taking the time to reply, but at the time when I posted this thread, I had already executed the clamscan command and closed th terminal. So I was looking for the way to find it after running clamscan. Your suggested way works and I will keep that in mind next time! :-) –  Abhijit Navale Nov 22 '12 at 16:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.