Perform remote terminal with CLI (Command Line Interface)
Steps to Use Remote Terminal
- Administrators login Vanguard dashboard and go to the user’s device details page and on the device details page select the tab Remote Terminal
- In order to connect with the remote device, type connect on the terminal.
- Some of the commands used after the device is connected are as follows:
- sync
- Instruct the device to connect to the server now. The server will create a task and the device will execute it directly, including device information, policy, etc.
- info
- To display information about the device like device info, battery info, device date, IMEI info, network info, root status, storage usage
- action
- Provide device action included lock device, take a photo front/rear, reboot device, unlock device and wipe device
- vg
- Provides background service action of vanguard like clear pending download queue,restart background service, terminate vanguard application, show vanguard version and clear all worker
- ring_device
- To trigger ring device or can stop ring device
- date
- Provides date and time information from the device
- agent
- Provides vanguard application version name and version code information of the device
- location
- Provides location information (lat, long) of the device
- storage
- Provides storage information including memory capacity, used memory, storage capacity and used storage capacity of the device
- battery
- Provides detailed battery information
- network
- Provides network information currently in use by the device
- data_usage
- Provides information on the use of application data by the device
- ping
- To check the connection on a host
- alert
- Pop up information on the device
- notification
- Provides notification on the device
- ls
- To browse the directory on the device
- pwd
- To display the name of the directory where you are currently on the device
- cd
- To move to another directory on the device
- rm
- To delete files on the device
- install
- Perform installation of APK files on the device
- uninstall
- Uninstall apps on the device
- download
- Download files from remote server to device
- start_app
- Give commands to the device to open an application
- stop_app
- Gives a command to the device to close an application
- logcat
- To display log messages on the device
- zip
- Zip the ZIP file on the device
- unzip
- Unzip the ZIP file on the device