Kaspersky Endpoint Security 12 for Linux

Commands for managing general application settings

July 22, 2024

ID 261122

The kesl-control --get-app-settings command

The command outputs the current values of the general application settings to the console or a configuration file.

Command syntax

kesl-control [-T] --get-app-settings [--file <configuration file path>] [--json]

Arguments and keys

--file <configuration file path> – path to the configuration file where the application general settings will be displayed. If you do not specify the --file option, settings will be output to the console.

If you specify the name of a file without its path, the file will be created in the current directory. If a file already exists in the specified path, it will be overwritten. If the specified directory does not exist, no configuration file will be generated.

--json is specified to output the settings in JSON format. If the --json key is not specified, the settings will be imported in the INI format.

The kesl-control --set-app-settings command

This command configures the general application settings via command options or by importing settings from a configuration file.

Command syntax

Define settings via command options:

kesl-control [-T] --set-app-settings <option name>=<option value> [<option name>=<option value>]

Define settings via a configuration file:

kesl-control [-T] --set-app-settings --file <configuration file path> [--json]

Arguments and keys

<option name>=<option value>: the name and value of a general application setting.

--file <configuration file path> – full path to the configuration file from which you want to import settings into the application.

--json is specified to import the settings from the configuration file into the application in JSON format. If the --json key is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.