unix search in less code example
Example: linux less go to last line
G – go to the end of file.
g – go to the start of file.
q or ZZ – exit the less pager.
G – go to the end of file.
g – go to the start of file.
q or ZZ – exit the less pager.