Finding a specific line in a file
A quick way to find a specific line in a file is to use the Locate
Line facility.
- Press Ctrl+L. The Line number input area appears.
- Enter the number of the line you want to go to and press enter. The Line
number input area closes and the cursor moves to the chosen line.
You can also use the editor locate command to find a
specific line. For example:
- Press Esc to open the editor command line area.
- Enter the following editor command in the command line area:
locate line n
where n is the number of the line you want to go to.
- Press Esc again to leave the command line input area. The
cursor is now at the chosen line.
Note: If you try to go to a line number that is greater than
the number of lines in the file, the cursor moves to the beginning of the last
line in the file.

Finding a location mark in a file
Finding text
Finding and replacing text

locate command
