Without the recursive option, clamscan would only look at the files in the specified directly, but not go any more deeply into the file system. The clamscan report also shows you how long it took to run along with both start and end times. $ clamscan -infected -remove -recursive /home/jdoe Without a file system location, clamscan will look through the current file system. As you can see, it took nearly half an hour to run, scanned 940 directories and nearly 34,000 files, but found no infected files. -move: moves infected files into the specified directoryĪ command like that shown below examines a single user account.-recursive: ensures that all subdirectories in the directory will be scanned.-infected: displays only infected files.-verbose: shows the version of the tool.Here are some of the options and what they do: Depending on how large a directory you ask it to scan, it can report results fairly quickly or take hours to run. It will report on the files and directories scanned and the number of infections. ClamAV optionsĬlamAV is extremely easy to use and examines individual files in whatever directory you point it at. This means that you will get frequent updates of the virus signatures without having to install them yourself. The process you see should look like this: $ ps -ef | grep freshclamĬlamupd+ 2536188 1 0 Mar03 ? 00:00:02 /usr/bin/freshclam -d -foreground=true It will then default to running 12 checks a day. You can also use the -d (or - deamon) option with freshclam. rvice loaded active running ClamAV virus database updater
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |