The ip link family inspects layer-2 settings, and naming the interface prints its administrative state, operstate, hardware address, and MTU. Look for UP in the flags and the LOWER_UP operstate to confirm a live cable or radio link. Run bare ip link to see every interface at once.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.