Monday, 10 April 2017

less command

Less lets you view the file and allows you to do basic find operations. Unlike more, it allows for both forward and backward navigation so you can look for any search string at any point in the document.
less automatically adjusts with the terminal window.  The text when viewed with less is automatically wrapped if you resize the window of the terminal.  This makes less more advance than the more which tends to cut the text as you tighten the width of the terminal.

To open a file using less, type the less command followed by the file name.

Syntax
less [options] [file_name]

Options

Commands 

No comments:

Post a Comment