Linux Bash scripts syntax

Checks

Check

Parameter

Note

Product Activated

 

Fails if the product is not activated.
Suggested action: Activate

Product Installed

 

Fails if the product is not installed.
Suggested action: Deploy w Activate

Protection Status

 

Reports status, Flags if the status is not “Fully Protected”.

Scans

 

Reports if new scans have been performed since last checked.

Threats

 

Flags if new threats have been detected.
Suggested action: Perform In-Depth scan

Was Updated

-i (in following format: n[m|h|d] as in 4d for 4 days, or 2h for 2 hours…)
Example: -i 10m

Flags If the last update is older than age.

Tasks

Task

Parameter

Note

Activate

-k EBA_License

-i EBA_Public_License_ID

-u EBA_Username

-p EBA_Password

 
Example:

-k EXAM-PLEL-ICEN-SEST-RING

-i EXA-MPL-EID -u example@eset.com -p examplepassword

Activation method options:

License Key

ESET Business Administrator (EBA) username, password and public license ID

 

Configure

-f /filePath/configFile (configuration file path)

 
Example: -f /tmp/config.xml

 

Deactivate

 

 

Deploy w Activate

-P Product {EEA(default)|EES}

-L Language {enu|See the complete list}

 

-k EBA_License

-i EBA_Public_License_ID

-u EBA_Username

-p EBA_Password

 

Example:

-P EEA -L enu -k EXAM-PLEL-ICEN-SEST-RING

-P EES -L enu -i EXA-MPL-EID -u example@eset.com -p examplepassword

Command execution without:

Activation arguments installs the product without activation

Any parameters installs ESET Endpoint Antivirus (EEA) in the default language (English) without activation

On-demand Scan

-t Target {file|folder}
-p "Scan_profile"

 

Example:

-t /home/user/ -p "@In-depth scan"

-t /home/user/file.tmp -p "@Smart scan"

 

Uninstall

 

 

Upgrade

 

 

List of available language arguments

Abbreviation

Language

enu

English (default)

bgr

Bulgarian

csy

Czech

dan

Danish

deu

German

ell

Greek

esn

Spanish - Spain

esl

Spanish - Chile

eti

Estonian

fin

Finnish

fra

French - France

frc

French - Canada

hrv

Croatian

hun

Hungarian

ita

Italian

jpn

Japanese

kor

Korean

lth

Lithuanian

nor

Norwegian

nld

Dutch

plk

Polish

ptb

Portuguese

rom

Romanian

rus

Russian

sky

Slovak

slv

Slovenian

srl

Serbian

sve

Swedish

tha

Thai

trk

Turkish

ukr

Ukrainian

chs

Chinese - China

cht

Chinese - Taiwan

are

Arabic

kdi

Kazakh