LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2019, 01:22 AM   #1
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Rep: Reputation: 73
use clam av to scan a usb stick


Last night my son plugged my usb stick into his Win 10 computer and it nearly crashed.

I'm wondering if I picked up something from the office Win 10 computer.

I want to scan the usb stick.

How do I do that in bash?

There doesn't seem to be a man entry for clamav or clam-av
 
Old 11-13-2019, 01:54 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,041

Rep: Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348Reputation: 7348
here you can find everything (I think), and at the end you can find a command to scan a directory:
https://www.golinuxcloud.com/steps-i...-centos-linux/
 
1 members found this post helpful.
Old 11-13-2019, 07:47 AM   #3
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 2,116

Original Poster
Rep: Reputation: 73
I did it like this in the end:

Quote:
pedro@pedro-newssd:~$ sudo clamscan -r --bell -i /media/pedro/0010-02CB

----------- SCAN SUMMARY -----------
Known viruses: 6540204
Engine version: 0.101.4
Scanned directories: 250
Scanned files: 8300
Infected files: 0
Data scanned: 3676.04 MB
Data read: 11002.61 MB (ratio 0.33:1)
Time: 858.417 sec (14 m 18 s)
pedro@pedro-newssd:~$
Took 14 minutes!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Clam TK won't scan Gregg Bell Linux - Software 28 01-23-2016 04:51 PM
Any success with on-access virus scan, clam, klam, Trouble installing dazuko module. GlennsPref Mandriva 2 11-08-2008 05:14 PM
how to use clam antivirus in Red hat 9 nics Linux - Software 1 04-29-2008 11:32 PM
clam av scan results Shadowalker Linux - Security 1 04-15-2006 07:39 PM
To SCAN or not to SCAN? HP750xi Suse 9.2 Pro newtwolinux Linux - Hardware 4 06-22-2005 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration