I know that to symbolize a new line, I would do echo -e "line 1 \nline 2" > text.txt. I find that using \n repeatedly can be annoying, and I would to know if there a way to actually go down a line in the terminal without it executing commands. Like if I were to edit python in the terminal I could write
def main():
print "hello world"
And pressing "enter" to go to a new line wouldn't have executed def main(): , it just went to a new line. Is there anything similar to this in the normal terminal?