⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 323-327.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=1558285423//-->

<!--TITLE=Linux in Plain English//-->

<!--AUTHOR=Patrick Volkerding//-->

<!--AUTHOR=Kevin Reichard//-->

<!--PUBLISHER=IDG Books Worldwide, Inc.//-->

<!--IMPRINT=M & T Books//-->

<!--CHAPTER=5//-->

<!--PAGES=323-327//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="316-323.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="328-335.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>more......<TT>Display File</TT></B></FONT></P>

<P><B>more</B> <I>option(s) file(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>more</B> command displays all or parts of a file, one screenful at a time. It has largely been superseded by the <B>less</B> command in functionality.</P>

<P>Type <B>q</B> to quit <B>more</B>. Press the space bar to continue scrolling through a file.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>&#43;<I>num</I></B>

<TD WIDTH="80%">Starts display at line number <I>num</I>.

<TR>

<TD><B>&#43;/<I>pattern</I></B>

<TD>Searches for <I>string</I> before file is displayed.

<TR>

<TD VALIGN="TOP"><B>-<I>num</I></B>

<TD>Sets the screen size to <I>num</I> of lines.

<TR>

<TD VALIGN="TOP"><B>-c</B>

<TD>Turns off scrolling; instead, the screen is cleared and the new text is painted from the top of the screen.

<TR>

<TD VALIGN="TOP"><B>-d</B>

<TD>Displays the following prompt at the bottom of the screen: <I>[Press space to continue, &#145;q&#146; to quit.]</I>

<TR>

<TD><B>-f</B>

<TD>Counts logical lines, not screen lines.

<TR>

<TD><B>-l</B>

<TD>Ignores the <B>^L</B> (form feed) as a special character.

<TR>

<TD VALIGN="TOP"><B>-p</B>

<TD>Turns off scrolling; instead, the screen is cleared and the new text is displayed.

<TR>

<TD><B>-s</B>

<TD>Squeezes multiple blank lines into one.

<TR>

<TD><B>-u</B>

<TD>Suppresses underlining.

</TABLE>

<P><FONT SIZE="+1"><B><I>COMMANDS</I></B></FONT></P>

<P>The following commands are used when <B>more</B> is displaying a file. They&#146;re entered at the bottom of the screen as with the <B>vi</B> text editor.</P>

<TABLE WIDTH="100%"><TR>

<TD WIDTH="25%" VALIGN="TOP"><B>RETURN</B>

<TD WIDTH="75%">Displays the next line of text. If an argument is provided, that becomes the new default.

<TR>

<TD VALIGN="TOP"><B>b</B> or <B>^B</B>

<TD>Moves backwards one screen of text. If an argument is provided, that becomes the new default.

<TR>

<TD VALIGN="TOP"><B>d</B> or <B>^D</B>

<TD>Scrolls 11 lines of text. If an argument is provided, that becomes the new default.

<TR>

<TD VALIGN="TOP"><B>f</B>

<TD>Skips forward one screen of text. If an argument is provided, that becomes the new default.

<TR>

<TD><B>h</B> or <B>?</B>

<TD>Displays a summary of commands.

<TR>

<TD><B>Ctrl-L</B>

<TD>Redraws the screen.

<TR>

<TD><B>n</B>

<TD>Repeats the last search.

<TR>

<TD><B>q</B> or <B>Q</B>

<TD>Exits <B>more</B>.

<TR>

<TD VALIGN="TOP"><B>s</B>

<TD>Skips forward one line of text. If an argument is provided, that becomes the new default.

<TR>

<TD><B>v</B>

<TD>Launches <B>vi</B> at the current line.

<TR>

<TD VALIGN="TOP"><B>z</B>

<TD>Displays the next screen of text. If an argument is provided, that becomes the new default.

<TR>

<TD><B>&#145;</B>

<TD>Reverts to where the previous search started.

<TR>

<TD><B>=</B>

<TD>Displays the current line number.

<TR>

<TD VALIGN="TOP"><B>/<I>pattern</I></B>

<TD>Searches for the next occurrence of <I>pattern</I>. If an argument is provided, that becomes the new default.

<TR>

<TD><B>!<I>cmd</I></B> or <B>:!<I>cmd</I></B>

<TD>Runs <I>cmd</I> in a subshell.

<TR>

<TD><B>:f</B>

<TD>Displays the current file and line number.

<TR>

<TD><B>:n</B>

<TD>Opens the next file.

<TR>

<TD><B>:p</B>

<TD>Opens the previous file.

<TR>

<TD><B>.</B>

<TD>Repeats the previous command.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>less</B>

</DL>

<P><FONT SIZE="+1"><B>nroff......<TT>Document Formatting</TT></B></FONT></P>

<P><B>nroff</B> <I>option(s) filename</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>nroff</B> command calls on the <B>groff</B> command to emulate the <B>nroff</B> command found on other UNIX systems. See the <B>groff</B> command for details and command-line options.</P>

<P><FONT SIZE="+1"><B>paste......<TT>Merge Files</TT></B></FONT></P>

<IMG SRC="images/05-116i.jpg"><P><B>paste</B> <I>option(s) file(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>paste</B> options merges files and places the files side by side. The first line of <I>file1</I> will be followed by the first line of <I>file2</I>, separated by a tab and ending with a newline.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="15%"><B>-d<I>char</I></B>

<TD WIDTH="85%">Uses <I>char</I> instead of a tab to separate lines.

<TR>

<TD><B>-s</B>

<TD>Merges lines from files, instead of printing both on the same line.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>cut</B>

<DD><B>join</B>

</DL>

<P><FONT SIZE="+1"><B>pico......<TT>Pine Editor</TT></B></FONT></P>

<P><B>pico</B> <I>option(s) filename</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>pico</B> text editor is a slim tool based on the composing tools found in the <B>pine</B> mail manager. If you work a lot with <B>pine</B> and want to maintain some consistency in your tools, you might want to use <B>pico</B> for your basic editing needs.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>&#43;<I>n</I></B>

<TD WIDTH="80%">Loads a file with the cursor <I>n</I> lines into the file.

<TR>

<TD VALIGN="TOP"><B>-d</B>

<TD>Rebinds the <B>Delete</B> key so the character the cursor is on is rubbed out rather than the character to its left.

<TR>

<TD><B>-e</B>

<TD>Enables filename completion.

<TR>

<TD VALIGN="TOP"><B>-g</B>

<TD>Shows cursor before the current selection, rather than the lower left of the display.

<TR>

<TD VALIGN="TOP"><B>-k</B>

<TD>Removes text from the cursor to the end of the line, rather than the entire line.

<TR>

<TD VALIGN="TOP"><B>-m</B>

<TD>Enables mouse functionality; available only when running under X Window.

<TR>

<TD><B>-n<I>n</I></B>

<TD>Notifies you when new mail arrives; check for mail every <I>n</I> seconds.

<TR>

<TD>-<B>o <I>dir</I></B>

<TD>Works in <I>dir</I> directory.

<TR>

<TD VALIGN="TOP"><B>-r<I>n</I></B>

<TD>Sets <I>n</I> column used to limit the right margin.

<TR>

<TD VALIGN="TOP"><B>-t</B>

<TD>Enables tool mode, where there&#146;s no prompting for a save on an exit, and there&#146;s no renaming of the buffer. Used when composing text in other tools, such as <B>elm</B> or <B>Pnews</B>.

<TR>

<TD><B>-v</B>

<TD>Views the file without editing.

<TR>

<TD><B>-w</B>

<TD>Disables word wrap.

<TR>

<TD><B>-x</B>

<TD>Disables the keymenu at the bottom of the screen.

<TR>

<TD><B>-z</B>

<TD>Enables <B>^Z</B> suspension.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>pine</B>

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="316-323.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="328-335.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -