xrandr is the X11 RandR extension client, and running it bare lists every output with its supported resolutions and refresh rates. Output names like HDMI-1 and eDP-1 come from the left column. It only works on X11 sessions, not Wayland.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.