[[linux_wiki:less]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_wiki:less [2019/11/05 02:53]
billdozor created
linux_wiki:less [2019/11/05 02:53] (current)
billdozor [Usage]
Line 25: Line 25:
  
 With a file open in less (eg: less /​var/​log/​messages),​ you press: With a file open in less (eg: less /​var/​log/​messages),​ you press:
-  * F+  ​* **F**
     * Starts following the file as if you did tail -f /​var/​log/​messages. Stop following press ctrl+c.     * Starts following the file as if you did tail -f /​var/​log/​messages. Stop following press ctrl+c.
     * An advantage over tail -f, is that if you have a search result highlighted before typing F, as lines are appending to the file, new words that match your search are highlighted.     * An advantage over tail -f, is that if you have a search result highlighted before typing F, as lines are appending to the file, new words that match your search are highlighted.
  • linux_wiki/less.txt
  • Last modified: 2019/11/05 02:53
  • by billdozor