The difference between linux commands more and less

1. Less will not load the entire file at once, and the loading speed is faster than more.

2. Less can scroll the content line by line by pressing the up and down arrow keys on the keyboard . The pegeUp and space keys turn pages up and down respectively. You can search for matching fields in the content by adding a slash character, such as "/login". At this time, press the n key to locate the next matching field.

3. More cannot scroll the content through the up and down arrow keys, but you can use b to page up and the space bar to page down.

4. Less will not leave the content just displayed in the terminal after exiting, but more will leave it in the terminal after exiting.

おすすめ

転載: blog.csdn.net/qq_35858902/article/details/128909685