Mastering AnyDesk: A Comprehensive Guide to Command Line Interface for Linux
The following commands can be entered into the Linux terminal or used in a script to automate parts of AnyDesk.
Installation Commands
AnyDesk for Linux can be downloaded and updated through the command-line interface using the AnyDesk repositories. Instructions on how to set up and use the repositories can be found below:
Client Commands
These commands can be used to interact with the AnyDesk client through the terminal or scripts.
| Command | Description | 
|---|---|
| anydesk | See Client Command Parameters | 
| echo | Sets the specified password for unattended access. (Must be used as root). | 
| echo <license_key>| anydesk –register-license | Registers the specified license key. | 
Client Command Parameters
| Parameter | Description | 
|---|---|
| --get-alias | Retrieves the AnyDesk alias. | 
| --get-id | Retrieves the AnyDesk ID. | 
| --get-status | Retrieves the online status of the client. | 
| --version | Retrieves the current version of the AnyDesk client. | 
| --settings | Opens the default settings page. | 
| --admin-settings | Opens the specified global settings page. (Must be used as root) | 
| --admin-settings:<viable_parameter>**Viable Parameters:**capture, security, connection, recording. | Opens the administrative settings on the specific page. (must be used as root) | 
Connection Commands
A connection can be established through the command-line interface. When requesting a connection through the command line, various parameters can be added.
| Command | Description | 
|---|---|
| anydesk <ID/Alias> | AnyDesk will request a connection with the specified client. Refer to Optional Connection Command Parameters for additional parameters. | 
| echo | AnyDesk will send a connection request to the specified client with the entered password. | 
Optional Connection Command Parameters
| Parameter | Description | 
|---|---|
| --file-transfer | Initiates a file transfer session through AnyDesk. | 
| --fullscreen | Initiates an interactive session in full-screen mode through AnyDesk. | 
- Published at