Quick link: Scan profiles

Run On-demand scan from a Terminal window

Syntax: /opt/eset/eea/bin/odscan [OPTIONS]

Options - short form

Options - long form




Show currently running scans



Show all available scan profiles



Show also scans executed by other user (requires root privileges)



Resume previously paused scan identified by session_id



Pause scan identified by session_id



Stop scan identified by session_id



Start scan



Display basic information (including session_id, log_name) about the started scan



Scan with selected PROFILE



Task will be run with the specified priority.
Priority can be: normal, lower, lowest, idle



Scan without cleaning



Scan local drives



Scan network drives



Scan removable media



Scan the boot sectors of local drive



Scan the boot sectors of removable media



Scan the main boot sector



Skip selected file or directory



Scan also excluded paths and extensions


Run On-demand scan of /root/ directory recursively with "@Smart scan" scan profile as a background process:

/opt/eset/eea/bin/odscan --scan --profile="@Smart scan" /root/* &

Run On-demand scan with "@Smart scan" scan profile regarding multiple destinations recursively:

/opt/eset/eea/bin/odscan --scan --profile="@Smart scan" /root/* /tmp/* /home/*

List all running scans:

/opt/eset/eea/bin/odscan -l

Pause scan with session-id "15". Each scan has its own unique session-id generated when it is started.

/opt/eset/eea/bin/odscan -p 15

Stop scan with session-id "15". Each scan has its own unique session-id generated when it is started.

/opt/eset/eea/bin/odscan -t 15

Run On-demand scan with an excluded directory /root/exc_dir and an excluded file /root/

/opt/eset/eea/bin/odscan --scan --profile="@In-depth scan" --exclude=/root/exc_dir/ --exclude=/root/ /

Scan the boot sector of removable devices. Execute the command below as a privileged user:

sudo /opt/eset/eea/bin/odscan --scan --profile="@In-depth scan" --boot-removable

Exit codes

The odscan utility ends with an exit code upon completed scan. Execute echo $? in the Terminal window upon completed scan to display the exit code.

Exit codes



No threat found


Threat found and cleaned


Some files could not be scanned (may be threats)


Threat found



Scan profiles

Your preferred scan parameters (Threatsense parameters) can be saved for future scanning. We recommend creating a different profile (with various scan targets, scan methods, and other parameters) for each regularly used scan.

Create a new profile through ESET PROTECT

1.In ESET PROTECT, click Policies > New policy and type a name for the policy.

2.Click Settings and select ESET Endpoint for Linux (V7+) from the drop-down menu.

3.Click Detection Engine > Malware scans > On-demand scan, and click Edit next to List of profiles.

4.Enter the desired name of the new profile, click Add and then click Save.

5.In the Selected profile drop-down menu, select the new profile you created and adjust scan-related settings in the Malware scans section.

6.Navigate to Assign, click Assign, select the desired group of computers the policy will apply to.

7.Click OK and then Finish.