what do i do with the code? do i create a text file with leafpad? and if so what do i name the text file?

Im soory im kind of new to all linux OS's trying to learn the OS correctly before hard...