HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sfdk device — Maintain and control registered devices. More information: <https://docs.sailfishos.org/Develop/Apps

Submitted by: @import:tldr-pages··
0
Viewed 0 times
sfdk devicecommanddevicesandregisteredclicontrolmaintain

Problem

How to use the sfdk device command: Maintain and control registered devices. More information: <https://docs.sailfishos.org/Develop/Apps/Tutorials/Building_packages_-_advanced_techniques/#running-the-sample-application-in-the-emulator>.

Solution

sfdk device — Maintain and control registered devices. More information: <https://docs.sailfishos.org/Develop/Apps/Tutorials/Building_packages_-_advanced_techniques/#running-the-sample-application-in-the-emulator>.

Display the registered devices:
sfdk device list


Execute a command on a device by name or index:
sfdk device exec {{device-name-or-idx}} {{command}}


Run an interactive shell on a device by name or index:
sfdk device exec {{device-name-or-idx}}

Code Snippets

Display the registered devices

sfdk device list

Execute a command on a device by name or index

sfdk device exec {{device-name-or-idx}} {{command}}

Run an interactive shell on a device by name or index

sfdk device exec {{device-name-or-idx}}

Context

tldr-pages: common/sfdk device

Revisions (0)

No revisions yet.