how to get my screen's resolution on linux code example Example: how to know screen resolution linux $ xrandr | fgrep '*'