Mastering AnyDesk: A Comprehensive Guide to Command Line Interface for Linux

Table of content

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:

Back to Top

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 | anydesk –set-password 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)

Back to Top

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 <ID/Alias> –with-password 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.

Back to Top

Published at

Comments (0)