RobRoye;
Yes, those are commands to be typed at the command prompt. Log in to your SME server as root, then enter each of those lines and hit enter to execute the command. One line at a time, by the way. And skip the "#", that indicates the command prompt.
So, first line creates a directory (mkdir), second line changes to the directory (cd) just created, third line copies (cp) a file from another directory to the directory just created, and the fourth line runs pico, an editor, so you can make the necessary changes to the name in the file you just copied in the third line.
The last line, expand-template, causes the changes to the name to be used.
-P