How use less command in Linux?

Nguyễn Trà

New member
How use less command in Linux?
Answer
Learn to use less command in Linux for viewing large files and tracking log files.
To summarize:
  • Up arrow – Move one line up.
  • Down arrow – Move one line down.
  • Space or PgDn – Move one page down.
  • b or PgUp – Move one page up.
  • g – Move to the beginning of the file.
  • G – Move to the end of the file.
  • ng – Move to the nth line.
 

Tìm kiếm

Back
Top