Basics of Bash

Theory: Viewing long files with pagers

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
+7 800 100 22 47

free call in Russia

+7 495 085 21 62

free call in Moscow

The Republic of Kazakhstan, Almaty
Auezova St., 14A
BIN 230340043714