Often you want to refer to the last line
of a file, and you don't know how long it is.
There is a special address, "$" for this purpose.
"$" refers to the end of a file. Thus
prints the last line of a file and
Here's another file. Print all of it, and
then type the usual w, q, and ready.
Your commands should look like