What Does More Command Do in Linux?
Contents

more command is used to view the text files in the command prompt, displaying one screen at a time in case the file is large (For example log files). The more command also allows the user do scroll up and down through the page.

What does more command do?

In computing, more is a command to view (but not modify) the contents of a text file one screen at a time. more is a very basic pager, originally allowing only forward navigation through a file, though newer implementations do allow for limited backward movement. …

What is less and more command in Linux?

more and less have the option to view multiple files at once. more allows us to view them as a single file separated by lines, and less allows us to switch between them. However, both more and less display all the opened files with the same options.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest