The most frequently used editor command is
which prints out a line. Try that now.
Type the command sequence
to print out a line, and then write out the file.
This is the line to be printed. Don't forget w, then q.
This is the line to be printed. Don't forget w, then q.