Linux More Command

the more command is used to display text on terminal screen.more is a filter for paging through text one screen at a time.this is more suitable command for displaying large files.it display data screen wise then pauses with more along with the percentage of the file that will be displayed.to continue on the next screen wise data,press the spacebar.to stop viewing thefile press 'q'.

Syntax

$more [option] [file_name]

Opetions

Sr.No

Options

Descriptions

01

-c

to clear the screen before printing

02

-n

to specify how many lines are printed in the screen for a given file.

03

+num

to specify an integer which is the screen size.(display the content of the file with status the message

04

-d

to prompt the with the message [press space to continue 'q' to quit

Example


$more -c file1.txt
						

it will clear the screen before printing a file.

Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit