Just open a terminal and type those commands. You can copy the output by highlighting it with your mouse, and paste it here on the forum by clicking the middle mouse button (wheel) or both mouse buttons if you have a 2 button mouse / touchpad.