syx,
No. The first command that I gave you (bold type) starts the vi text editor. If you are not familiar with this editor, do a quick Google search on it and spend 15 minutes reading about the basics. When using the first command, it creates the directory path and the file all in one step. BTW, this needs to be run from the command line, and the # at the beginning is NOT to be typed in. After vi is open, hit "i" to enter insert mode. Then type in the contents as shown. When finished, hit the "Esc" key to return to Command mode, then type "ZZ" (notice the caps) to quit and save the file.
Now type the other commands in bold, exit the command line, and you're done.