The command:
$ nano someFile
either creates an empty file named someFile within the current directory (if a file with this name doesn't exist) using the nano command-line text editor, or opens an existing file named someFile. Within the nano editor, you can change, delete, and add content.
Here are links to some great nano guides and YouTube videos: