After installing the Linux Endpoint Agent, you can execute many operations by Command Line Interface (CLI), including start a scan, update databases, or configure exclusions. Some tasks are easier to use via the Nebula console interface, like update database, create exclusions, or check quarantine. See this article for the available commands for Linux endpoints.
List of Linux commands
Enter one of the following Commands in your Linux CLI:
Initiates a scan on the Linux endpoint. You can view the results in the Nebula console on the Detections page.
|mblinux logs||List log contents.|
|mblinux update||Update malware databases.|
mblinux configure NEBULA_URI=https://cloud.malwarebytes.com
The three different settings you can configure. You can change the Nebula URL to another location. This should only be done if directed by support.
You can also configure the logging levels for the mblinux log file and the syslog file.
mblinux configure PROXY=[on, off, reset]
mblinux configure PROXY_SERVER=
mblinux configure PROXY_PORT=
mblinux configure PROXY_USER=
mblinux configure PROXY_PWD=
mblinux configure PROXY_BYPASS_LOCAL=[on, off]
Configure the endpoint agent to use a proxy server for communicating with Nebula.
You can also completely turn on, turn off, or reset the proxy configuration settings if needed.
mblinux daemon [start, stop, restart]
|Start, stop, or restart mbdaemon protection services.|
|mblinux daemon status||Check if the Linux Endpoint Agent is active and running.|
|mblinux register [AccountToken [Optional]Group]||
Register and activate Linux Endpoint Agent. You can find your Group ID in the Nebula console on the Downloads page.
|mblinux unregister||Unregister and deactivate Linux Endpoint Agent.|
|mblinux protection status||Shows the protection status based on your Nebula policy.|
|mblinux exclusions list||Lists the exclusions based on your Nebula policy.|
|mblinux quarantine||Restore, delete, or list quarantined threats.|
Generate diagnostics file. It generates a file called MBDiagnostics.tar.gz, located in your same directory.
Shows the identifiers for the endpoint
Verify connection to the servers
|mblinux setmachineid [new_machine_id]||
Replaces the auto-generated machine UUID with the entered value.
Immediately checks for new settings and commands in the cloud console.
Updates endpoint info in the cloud console.