← Useful Tips
Linux / WSLLinux

less +F file.log: Follow a log while keeping scroll-back access

Use less +F file.log to follow a log while keeping scroll-back access. It is especially handy when you live in terminals and repeat long commands.

less +F file.log

Why it helps

Use less +F file.log to follow a log while keeping scroll-back access. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
less +F file.log: Follow a log while keeping scroll-back accessless +F file.logfollow a log while keeping scroll-back accesshow to follow a log while keeping scroll-back accessLinux / WSL follow a log while keeping scroll-back access

Related tips