02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NAME<br />

more<br />

more, less — display files on a page-by-page basis<br />

SYNOPSIS<br />

more [-ceiSs] [-A|-u] [-n number] [-P prompt] [-p <strong>com</strong>mand] [-t tag] [-U[b|B|l|L]] [file ...]<br />

more [-ceiSs] [-A|-u] [-n number] [-P prompt] [-t tag] [+<strong>com</strong>mand] [-U[b|B|l|L]] [file ...]<br />

less [-ceiSs] [-A|-u] [-n number] [-P prompt] [-p <strong>com</strong>mand] [-t tag] [-U[b|B|l|L]] [file ...]<br />

less [-ceiSs] [-A|-u] [-n number] [-P prompt] [-t tag] [+<strong>com</strong>mand] [-U[b|B|l|L]] [file ...]<br />

DESCRIPTION<br />

The more <strong>com</strong>mand displays files one page at a time. It obtains the number of lines per page from<br />

the environment or from the -n option. If the standard output is not a terminal device, the number<br />

of lines per page is infinite. The less <strong>com</strong>mand is identical to the more <strong>com</strong>mand.<br />

If more than one file is specified, they are displayed one at a time. When more finishes displaying<br />

one file, it begins displaying the next one in the list. If you give - as one of the file names, more<br />

reads the standard input at that point in the sequence.<br />

Besides normal text files, more also works on 16-bit Unicode files. Such files normally begin with a<br />

two-byte marker indicating whether the file's Unicode characters are big-endian or little-endian.<br />

more allows paging forwards and backwards (if possible) and searching for strings.<br />

Options<br />

-A<br />

-c<br />

causes the display of all characters, including unprintable ones. Normally unprintable<br />

characters are displayed in a printable format. Further, ANSI escape sequences for display<br />

modes are processed. This option cannot be used with -u.<br />

Note:<br />

The character in the top left corner of the screen always appears in normal mode.<br />

clears the screen before displaying a new file. If at any time, the new screen to be displayed<br />

393 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!