Differences between catmoreless commands in linux-general Linux technology-Linux technology and application information. For more information, see the following. The cat command function is used to display the content of the entire file. Therefore, it is often used together with the more command. The cat command also combines several files into one file.
More command: Pause the screen when the page is full. Press space to continue displaying the next screen or press the Q key to stop the screen.
Less command: the usage of the less command is similar to that of the more command. It can also be used to browse files on more than one page. The difference is that the less command can not only display the file down by pressing the Space key, but also use the up or down key to scroll the file. To end browsing, press the Q key at the less command prompt.
In fact, apart from the cat command, these three commands have the ability to merge files. The other functions are similar, but they differ in browsing habits and display methods.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service