Thursday, October 27, 2005

Difference between more and less

In Linux, you can use both the more and less commands to paginate screens. I often wondered what the difference precisely is and today, I found it in RHEL 3 documentation

ls -al /etc | more
ls -al /etc | less

The main difference between more and less is that less allows backward and forward movement using the arrow keys, while more only uses the [Spacebar] and the [B] key for forward and backward navigation


Post a Comment

Links to this post:

Create a Link

<< Home