Question: what does command x do?
Answer: In many software applications on Windows and the X Window System Ctrl-X can be used to cut highlighted mutable text to the clipboard. On Mac OS X Cmd+X has an analogous function. The key combination was one of a handful of keyboard sequences chosen by the program designers at Xerox PARC to control text editing.