vim editor
1. open the file
# vim /path/to/somefile
vim + #: Open the file, and positioned at the first # line
vim +: Open File, navigate to the last row
vim +/PATTERN: Open File, navigate to the line the first time to the line matching PATTERN
2. close the file
1) line mode close the file
:q ...