Get the monitor resolution in linux command line Posted on 14 February 2025 by kosmas You can use the following xdpyinfo command xdpyinfo | grep dim dimensions: 3840x3673 pixels (1016x971 millimeters)