Contenues dansTrouver plus de documentationRessources d'assistance comprises | Télécharger cet ouvrage au format PDF (6561 Ko)
more(1)Name | Synopsis | Description | Options | Usage | Environment Variables | Exit Status | Files | Attributes | See Also | Notes Name
Synopsis/usr/bin/more [-cdflrsuw] [-lines] [+ linenumber] [+/ pattern] [file]... /usr/bin/page [-cdflrsuw] [-lines] [+ linenumber] [+/ pattern] [file]... /usr/xpg4/bin/more [-cdeisu] [-n number] [-p command] [-t tagstring] [file]... /usr/xpg4/bin/more [-cdeisu] [-n number] [+ command] [-t tagstring] [file]... DescriptionThe more utility is a filter that displays the contents of a text file on the terminal, one screenful at a time. It normally pauses after each screenful. /usr/bin/more then prints --More-- and /usr/xpg4/bin/more then prints file at the bottom of the screen. If more is reading from a file rather than a pipe, the percentage of characters displayed so far is also shown. The more utility scrolls up to display one more line in response to a RETURN character. more displays another screenful in response to a SPACE character. Other commands are listed below. The page utility clears the screen before displaying the next screenful of text. page only provides a one-line overlap between screens. The more utility sets the terminal to NOECHO mode, so that the output can be continuous. Commands that you type do not normally show up on your terminal, except for the / and ! commands. The /usr/bin/more utility exits after displaying the last specified file. /usr/xpg4/bin/more prompts for a command at the last line of the last specified file. If the standard output is not a terminal, more acts just like cat(1), except that a header is printed before each file in a series. Options
The following options are supported for both /usr/bin/more and /usr/xpg4/bin/more: /usr/bin/moreThe following options are supported for /usr/bin/more only: /usr/xpg4/bin/moreThe following options are supported for /usr/xpg4/bin/more only: If both the -t tagstring and -p command (or the obsolescent +command) options are given, the -t tagstring is processed first. Usage
Environmentmore uses the terminal's terminfo(4) entry to determine its display characteristics. more looks in the environment variable MORE for any preset options. For instance, to page through files using the -c mode by default, set the value of this variable to -c. (Normally, the command sequence to set up this environment variable is placed in the .login or .profile file). CommandsThe commands take effect immediately. It is not necessary to type a carriage return unless the command requires a file, command, tagstring, or pattern. Up to the time when the command character itself is given, the user may type the line kill character to cancel the numerical argument being formed. In addition, the user may type the erase character to redisplay the `--More--(xx%)' or file message. In the following commands, i is a numerical argument (1 by default). /usr/bin/moreThe following commands are available only in /usr/bin/more: /usr/xpg4/bin/moreThe following commands are available only in /usr/xpg4/bin/more: Large File BehaviorSee largefile(5) for the description of the behavior of more and page when encountering files greater than or equal to 2 Gbyte ( 231 bytes). Environment Variables
See environ(5) for descriptions of the following environment variables that affect the execution of more: LANG, LC_ALL, LC_COLLATE (/usr/xpg4/bin/more only), LC_CTYPE, LC_MESSAGES, NLSPATH, and TERM. /usr/xpg4/bin/moreThe following environment variables also affect the execution of /usr/xpg4/bin/more: Exit StatusFilesAttributesSee attributes(5) for descriptions of the following attributes: /usr/bin/more /usr/bin/page/usr/xpg4/bin/moreSee Alsocat(1), csh(1), ctags(1), man(1), nroff(1), script(1), sh(1), ul(1), environ(4), terminfo(4), attributes(5), environ(5), largefile(5), standards(5) /usr/bin/more /usr/bin/page/usr/xpg4/bin/moreNotes/usr/bin/moreSkipping backwards is too slow on large files. /usr/xpg4/bin/moreThis utility will not behave correctly if the terminal is not set up properly. Name | Synopsis | Description | Options | Usage | Environment Variables | Exit Status | Files | Attributes | See Also | Notes |
|