[speak]

Thurman Speaks About Less is More... More or Less

If I need to read a file, I use a text editor. [The editor should be executed in read-only mode.]

Unix systems include a collection of commands that are referred to as pagers. They are called this because they allow you to page back and forth (scroll) through data that is displayed on your screen.

I use a plain-old-text text editor as my pager program; consequently, I have little experience using pager commands such as more, less, and pg.

Note: I do use more when using pipes; however, in many instances I redirect command output to a file and then view (or vi -r) the file. I use more more than less and less less than more.

During class a question was raised about the less command being more powerful than the more command. In other words, less is more.

That was the coverage of pagers... more or less.

As a follow-up: Maybe in computing "less is more" is more or less true.

If I was hiring a Unix SysAdmin and was going to pay them $150,000 per year, then they would have to do a good job with the following exercise.

   I assume you have no experience with the 'less' 
   and 'more' commands.  Take one hour to learn about 
   the 'more' and 'less' commands.  Explain the behavior 
   of the following command-line.

   $ more | less

Author: G.D.Thurman [gthurman@gmail.com]
Created: 08 Feb 2002