less command

  • Less is a better version of more
  • You can scroll backword and forward using less unline more command

Comamnds :

  • Show Line numbers
    • Use -N command to show line numbers
  • Tailf
    • Use Shift+f command to tail the file and Ctrl+C to end tailf
  • Wordwrap
    • -s wordwrap ON and -S wordwrap OFF
  • direct open a specific line
    • less +7000 -NS logfile.log

Leave a Comment