Linux self-study notes 2

less [option] filename

  • less read the file
  • space : page down
  • b(back) : page up
  • g : go to the top of the file
  • G : go to the bottom of the file
  • Enter: scroll down one line
  • /... : search keyword

Option

  1. -N display line numbers
  2. -e When the end of the file is displayed automatically leave

Guess you like

Origin blog.csdn.net/wooooooc/article/details/90411798
Recommended