The answer is you don't. The real power of the computer is its ability to do the work for you. To do that, we use the power of the shell to automate things. We write scripts.
Scripts are collections of commands that are stored in a file.
The shell can read this file and act on the commands as if they were typed at the keyboard. In addition to the things you have learned so far, the shell also provides a variety of useful programming features to make your scripts truly powerful. A wide range of tasks can be automated. The SuperMan pages are built entirely by a script. This is performed by a script.