idevice_id

lists connected iOS device identifiers

TLDR

List connected devices
$ idevice_id -l
Show device UDID
$ idevice_id
List in simple mode
$ idevice_id -l -n
Debug output
$ idevice_id -d -l

SYNOPSIS

idevice_id [options]

DESCRIPTION

idevice_id lists connected iOS device identifiers. It detects iPhones, iPads, and iPods via USB or network.The tool provides UDIDs needed for other libimobiledevice commands. It's the first step in iOS device management.

PARAMETERS

-l, --list

List device UDIDs.
-n, --network
Include network devices.
-d, --debug
Debug output.
-u UDID
Target device.
--help
Display help information.

INSTALL

sudo apt install libimobiledevice-utils
sudo dnf install libimobiledevice-utils
sudo apk add libimobiledevice-progs

CAVEATS

Part of libimobiledevice. Requires USB access. May need pairing.

HISTORY

idevice_id is part of libimobiledevice, the open-source iOS device communication library.

SEE ALSO

idevicepair(1), ideviceinfo(1), idevicename(1)