command: less

Rob

Administrator
Staff member
Joined
Oct 27, 2011
Messages
1,210
Reaction score
2,240
Credits
3,485
The less command is helpful to view a screenfull of a text file. If you're familiar with vi/vim, you can use the direction keys to go down (j) or up (k).. you can also ctrl-f or ctrl-b to go up/down a full screen.. or just use the keyboard's arrow keys..

Example:

I've filled a file named 'example' with Lorem Ipsum text:
View attachment 38
 

Attachments

  • Screenshot-5.png
    Screenshot-5.png
    134.5 KB · Views: 4,859



Members online


Latest posts

Top