Press ENTER to move the cursor to a new line and press CTRL-D. At this point, the file new_script contains a series of shell commands.
It doesn't run because its not executable.
This command line tells the shell exactly where to find the shell script, new_script, in your current directory knows as "dot."