Viewing long files with pagers

Video may be blocked due to browser extensions. In the article you will find a solution to this problem.

Lesson notes

  • less to view files in a pager
    • h for help inside less pager
    • j, k to move down and up line by line
    • q to exit the pager
    • / to search (e.g. /dancing to search for 'dancing')
      • n and shift+n to move to next and previous search result
    • g to go to the end of file, shift+g to go to the beginning
We teach programming in a new way. Check out "Intro to Programming" course.


Learn about why Hexlet is so good →