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

📄 352-361.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=352-361//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="341-351.html">Previous</A></TD>

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

<TD><A HREF="362-367.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>zdiff......<TT>Compares Compressed Files</TT></B></FONT></P>

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

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

<P>The <B>zdiff</B> command uncompresses a <B>gzip</B> compressed file and calls on <B>diff</B>. The options associated with this command are actually <B>diff</B> options, which are passed along to <B>diff</B> along with the compressed file.</P>

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

<DL>

<DD><B>diff</B>

<DD><B>gzip</B>

</DL>

<P><FONT SIZE="+1"><B>zegrep......<TT>Greps Compressed File</TT></B></FONT></P>

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

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

<P>The <B>zegrep</B> command uncompresses a <B>gzip</B> compressed file and calls on <B>egrep</B>. The options associated with this command are actually <B>egrep</B> options, which are passed to <B>egrep</B> along with the compressed file.</P>

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

<DL>

<DD><B>egrep</B>

<DD><B>gzip</B>

<DD><B>zgrep</B>

<DD><B>zfgrep</B>

</DL>

<P><FONT SIZE="+1"><B>zfgrep......<TT>Greps Compressed File</TT></B></FONT></P>

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

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

<P>The <B>zfgrep</B> command uncompresses a <B>gzip</B> compressed file and calls on <B>fgrep</B>. The options associated with this command are actually <B>fgrep</B> options, which are passed to <B>fgrep</B> along with the compressed file.</P>

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

<DL>

<DD><B>fgrep</B>

<DD><B>gzip</B>

<DD><B>zgrep</B>

<DD><B>zegrep</B>

</DL>

<P><FONT SIZE="+1"><B>zgrep......<TT>Greps Compressed File</TT></B></FONT></P>

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

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

<P>The <B>zgrep</B> command uncompresses a <B>gzip</B> compressed file and calls on <B>grep</B>. The options associated with this command are actually <B>grep</B> options, which are passed to <B>grep</B> along with the compressed file.</P>

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

<DL>

<DD><B>grep</B>

<DD><B>gzip</B>

<DD><B>zegrep</B>

<DD><B>zfgrep</B>

</DL>

<P><FONT SIZE="+1"><B>zmore......<TT>Compressed More</TT></B></FONT></P>

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

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

<P>The <B>zmore</B> command is the GNU version of the venerable UNIX <B>more</B> command. <B>Zmore</B> prints files to the screen, one screen at a time. The twist here is that <B>zmore</B> will display files compressed with <B>gzip</B>. There are no command-line options to <B>zmore</B>, only commands that can be invoked when <B>zmore</B> is running.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="15%"><B>space</B>

<TD WIDTH="85%">Prints the next screen of the file.

<TR>

<TD><B>d</B> or <B>^D</B>

<TD>Prints the next 11 lines, or the <I>num</I> set with <B>i[<I>num</I>]</B>.

<TR>

<TD><B>i</B>

<TD>Prints the next screen of the file.

<TR>

<TD VALIGN="TOP"><B>i[<I>num</I>]</B>

<TD>Sets the number of lines to be displayed as <I>num</I>, instead of a full screen.

<TR>

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

<TD>Quits reading the current file and moves to the next (if any).

</TABLE>

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

<DL>

<DD><B>more</B>

<DD><B>less</B>

</DL>

<H3><A NAME="Heading5"></A><FONT COLOR="#000077">Internet/Electronic-Mail Commands</FONT></H3>

<P>These commands are used to read and send electronic mail, read and send Usenet postings, download from FTP servers, and surf the World Wide Web.

</P>

<P><FONT SIZE="+1"><B>answer......<TT>Phone Transcription System</TT></B></FONT></P>

<P><B>answer</B> <I>option(s)</I></P>

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

<P>The <B>answer</B> command is a secretarial tool used to transcribe telephone messages to an electronic mail message in <B>elm</B>. After launching, <B>answer</B> checks the <B>.elm/aliases</B> file for a list of users and then guides the user through a form designed to mimic phone-message slips (with fields like &#147;Message-To:&#148; and &#147;Please Call&#148;).</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="15%"><B>-p</B>

<TD WIDTH="85%">Prompts for message fields.

<TR>

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

<TD>Allows for names that aren&#146;t in the <B>.elm/aliases</B> file.

</TABLE>

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

<DL>

<DD><B>mail</B>

<DD><B>printmail</B>

</DL>

<P><FONT SIZE="+1"><B>audiocompose......<TT>Compose Audio</TT></B></FONT></P>

<P><B>audiocompose</B> <I>filename</I></P>

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

<P>The <B>audiocompose</B> command records audio. If you want to record audio clips to attach to your outgoing mail messages, this is the command to use. Run this command on the command line with a filename; you&#146;ll be prompted to record a file, and then asked if you want to listen to the file after recording it.</P>

<P>Then, you&#146;ll need to use the <B>audiosend</B>, <B>mailto</B>, or <B>metamail</B> command to attach the file to an outgoing mail message.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>You must have an audio device installed on your Linux system, usually as <B>/dev/audio</B>.<HR></FONT>

</BLOCKQUOTE>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>If you want to make this format the default for your system, you&#146;ll need to set up a RECORD_AUDIO environment variable to audiocompose.<HR></FONT>

</BLOCKQUOTE>

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

<!-- CODE SNIP //-->

<PRE>

$ audiosend hello

</PRE>

<!-- END CODE SNIP //-->

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

<DL>

<DD><B>audiosend</B>

<DD><B>mailto</B>

<DD><B>metamail</B>

<DD><B>showaudio</B>

</DL>

<P><FONT SIZE="+1"><B>audiosend......<TT>Send Audio</TT></B></FONT></P>

<P><B>audiosend</B> <I>e-mail_address</I></P>

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

<P>The <B>audiosend</B> command, unlike <B>audiocompose</B>, can be used to both record the audio and e-mail it to another user. The audio segment makes up the entire e-mail message; you can&#146;t attach text or other files to the mail message.</P>

<P>The command is simple: You use <B>audiosend</B> on a command line, along with an e-mail address. (If you don&#146;t specify an address, the command will prompt you for one.) The command then prompts you for <I>Subject</I> and <I>Cc</I> fields, after which you record your message. Before sending the message, <B>audiosend</B> asks if you want to rerecord the message or listen to it.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>You must have an audio device installed on your Linux system, usually as <B>/dev/audio</B>.<HR></FONT>

</BLOCKQUOTE>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>If you want to make this format the default for your system, you&#146;ll need to set up a RECORD_AUDIO environment variable to <B>audiocompose</B>.<HR></FONT>

</BLOCKQUOTE>

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

<!-- CODE SNIP //-->

<PRE>

$ audiosend hello

</PRE>

<!-- END CODE SNIP //-->

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

<DL>

<DD><B>audiocompose</B>

<DD><B>showaudio</B>

</DL>

<P><FONT SIZE="+1"><B>biff......<TT>Mail Notification</TT></B></FONT></P>

<P><B>biff</B> <I>option</I></P>

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

<P>The <B>biff</B> command notifies you that new mail has been received, as long as your system uses <B>sendmail</B> or <B>smail</B> as a mail-transport agent. To see the current status of <B>biff</B>, type it alone on a command line. To enable <B>biff</B>, use the <B>y</B> option; to disable <B>biff</B>, use the <B>n</B> option.</P>

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

<TABLE WIDTH="80%">

<TR>

<TD WIDTH="15%"><B>n</B>

<TD WIDTH="85%">Turns <B>biff</B> off.

<TR>

<TD><B>y</B>

<TD>Turns <B>biff</B> on.

</TABLE>

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

<DL>

<DD><B>xbiff</B>

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="341-351.html">Previous</A></TD>

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

<TD><A HREF="362-367.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 + -