How is a command line and a GUI operating system able to perform the same task?

Answer:

Because a GUI is just executing commands in the command line.

First answer by Bratmon. Last edit by Bratmon. Contributor trust: 9 [recommend contributor recommended]. Question popularity: 1 [recommend question].