What does this command sequence do?
cat > notes -
It accepts text from the standard input and places it in the "notes" file.
It appends text to an existing file called "notes."
It outputs the contents of the "notes" file to the screen, and then deletes it.
It creates an empty file called "notes" and then exits.