more command

The more command displays the file called name in the screen. The RETURN key displays the next line of the file. The spacebar displays the next screen of the file.

Syntax

The syntax for the more command is:
more [options] [files]

Options

OptionDescription
-cPage through the file by clearing the window. (not scrolling).
-dDisplays "Press space to continue, 'q' to quit"
-fCount logical lines rather than screen lines (wrapping text)
-lIgnores form feed (^L) characters.
-rDisplay all control characters.
-sDisplays multiple blank lines as one blank line.
-uDoes not display underline characters and backspace (^H).
-wWaits for a user to press a key before exiting.
-nDisplays n lines per window.
+numDisplays the file starting at line number num.
+/patternDisplays the file starting at two lines before the pattern.

Comments

Popular posts from this blog

gsutil Vs Storage Transfer Service Vs Transfer Appliance

SQL basic interview question