LOCATE The LOCATE primary command positions a specified line number at the top of the display. Figure 1. Syntax 1 LOCATE 1 LOC 1 L 2 line_number For example, the command L 18 positions line 18 at the top of the display.