Less Command – Other Navigations G – go to the end of file. g – go to the start of file. q or ZZ – exit the less pager.