more Linux Commands
What is Linux more Command?
Explanation
more COMMAND:more command is used to display text in the terminal screen. It allows only backward movement.
SYNTAX :
more [options] filename
OPTIONS:
-c |
Clear screen before displaying. |
-e |
Exit immediately after writing the last line of the last file in the argument list. |
-n |
Specify how many lines are printed in the screen for a given file. |
+n |
Starts up the file from the given number. |
EXAMPLE:
-
more -c index.php
Clears the screen before printing the file .
more -3 index.php
Prints first three lines of the given file. Press Enter to display the file line by line.