In the command line the ‘>‘ symbol means sent to or write to.
If you type
$ ls -al > content.txt
it will write the long result from the command ls -al in a file called content.txt. If the file already exists it will overwrite it.
On the other hand, the ‘>>‘ symbol means append to, so if you have a file content.txt and you want to add at its end the list of your files in the current folder, use the following,
$ ls >> content.txt
As you gain more experience with the command line, you might find these commands useful… although the examples here are quit trivial.