095-105.html
来自「linux-unix130.linux.and.unix.ebooks130 l」· HTML 代码 · 共 205 行
HTML
205 行
<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=095-105//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="087-094.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="106-111.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>printenv......<TT>Print Environment</TT></B></FONT></P>
<IMG SRC="images/05-17i.jpg"><P><B>printenv</B> <I>variable</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>printenv</B> command prints your environment variables. If you specify a variable, this command returns information about that variable; if you don’t specify a variable, the <B>printenv</B> command prints information about all variables.</P>
<P><FONT SIZE="+1"><B>ps......<TT>Print Status</TT></B></FONT></P>
<P><B>ps</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>ps</B> command returns information about a process. There’s a long, complicated set of options available with this command; check the online-manual pages for more information.</P>
<P><FONT SIZE="+1"><B>rb......<TT>Receive Ymodem</TT></B></FONT></P>
<P><B>rb</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>rb</B> command is used to receive files using the Ymodem transfer protocol.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%" VALIGN="TOP"><B>a</B>
<TD WIDTH="80%">Strips carriage returns and all characters beginning with the first <B>Ctrl-Z</B>.
<TR>
<TD><B>b</B>
<TD>Binary file-transfer override.
<TR>
<TD><B>D</B>
<TD>Output file data to <B>/dev/null</B>; for testing.
<TR>
<TD><B>q</B>
<TD>Works in quiet mode.
<TR>
<TD><B>t <I>time</I></B>
<TD>Changes timeout to <I>time</I> tenths of seconds.
<TR>
<TD VALIGN="TOP"><B>v</B>
<TD>Works in verbose mode, causing a list of filenames to be appended to <B>/tmp/rzlog</B>.
<TR>
<TD><B>y</B>
<TD>Clobbers any existing files with the same name.
</TABLE>
<P><FONT SIZE="+1"><B>rdjpgcom......<TT>Comments in JPEG</TT></B></FONT></P>
<P><B>rdjpgcom</B> <I>option jpeg_file</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>rdjpgcom</B> command reads a <B><I>jpeg_file</I></B> file and prints the text comments within. The JPEG format allows for “comment” (COM) blocks, ordinarily used for annotations and titles. The maximum size is 64K but there’s no limit to how many blocks can be in a file.</P>
<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%" VALIGN="TOP"><B>-verbose</B>
<TD WIDTH="80%">Prints the JPEG image dimensions as well as the comments.
</TABLE>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>cjpeg
<DD>djpeg
<DD>wrjpgcom</B>
</DL>
<P><FONT SIZE="+1"><B>reconfig......<TT>Reconfigures Xconfig</TT></B></FONT></P>
<IMG SRC="images/05-18i.jpg"><P><B>reconfig</B> <I><Xconfig> XF86Config</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>reconfig</B> command converts an old <B>Xconfig</B> file (used in versions of XFree86 before 3.1) to a new <B>XF86Config</B> file. You’ll need to edit the new <B>XF86Config</B> file.</P>
<P><FONT SIZE="+1"><B>renice......<TT>Change Priorities</TT></B></FONT></P>
<P><B>renice</B> <I>priority who option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>renice</B> command alters the scheduling priority of one or more running processes.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%" VALIGN="TOP"><B>-g</B>
<TD WIDTH="80%">Forces <I>who</I> parameters to be interpreted as process group IDs.
<TR>
<TD VALIGN="TOP"><B>-p</B>
<TD>Resets <I>who</I> interpretation to be (the default) process IDs.
<TR>
<TD VALIGN="TOP"><B>-u</B>
<TD>Forces <I>who</I> parameters to be interpreted as user names.
</TABLE>
<P><FONT SIZE="+1"><B>reset......<TT>Reset Terminal</TT></B></FONT></P>
<P><B>reset</B></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>reset</B> command resets the terminal. It calls on a number of commands to do so.</P>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>reset
<DD>stty
<DD>tput</B>
</DL>
<P><FONT SIZE="+1"><B>resize......<TT>Reset Terminal</TT></B></FONT></P>
<IMG SRC="images/05-19i.jpg"><P><B>resize</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>resize</B> command sets the TERM and TERMCAP settings to the current <B>xterm</B> size. For this to happen, the command must be part of the command line or redirected to a file.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="30%" VALIGN="TOP"><B>-u</B>
<TD WIDTH="70%">Generates Bourne shell commands, even if the Bourne shell is not the current shell.
<TR>
<TD VALIGN="TOP"><B>-c</B>
<TD>Generates C shell commands, even if the C shell is not the current shell.
<TR>
<TD VALIGN="TOP"><B>-s [<I>rows columns</I>]</B>
<TD>Uses Sun console escape sequences instead of the <B>xterm</B> escape codes. If <I>rows</I> and <I>columns</I> are specified, the <B>xterm</B> window will be asked to resize itself.
</TABLE>
<P><FONT SIZE="+1"><B>runscript......<TT>Runs Minicom Script</TT></B></FONT></P>
<P><B>runscript</B> <I>scriptname</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>runscript</B> command is a script interpreter for the <B>minicom</B> terminal software. It’s usually used to automate logging into a remote UNIX server or a bulletin-board system.</P>
<P>The following commands are recognized within scripts: expect, send, goto, gosub, return, exit, print, set, inc, dec, if, timeout, verbose, sleep, break, and call. The actual scripting language is close to BASIC, and the <B>minicom</B> source code comes with two example scripts: <B>scriptdemo</B> and <B>unixlogin</B>.</P>
<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>
<DL>
<DD><B>minicom</B>
</DL>
<P><FONT SIZE="+1"><B>ruptime......<TT>Host Status</TT></B></FONT></P>
<P><B>ruptime</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>ruptime</B> command shows the host status of a local machine. This is formed from packets broadcast by each host on the network once a minute. Machines for which no status report has been received for 11 minutes are shown as being down.</P>
<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>
<DL>
<DD><B>rwho
<DD>uptime</B>
</DL>
<P><FONT SIZE="+1"><B>rx......<TT>Receive Xmodem</TT></B></FONT></P>
<P><B>rx</B> <I>option(s) filename</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>rx</B> command receives files using the Xmodem transfer protocol.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="20%" VALIGN="TOP"><B>a</B>
<TD WIDTH="80%">Strips carriage returns and all characters, beginning with the first <B>Ctrl-Z</B>.
<TR>
<TD><B>b</B>
<TD>Binary file-transfer override.
<TR>
<TD><B>c</B>
<TD>Request 16-bit CRC.
<TR>
<TD><B>D
<TD></B>Output file data to <B>/dev/null</B>; for testing.
<TR>
<TD VALIGN="TOP"><B>e</B>
<TD>Forces sender to escape all control characters; normally XON, XOFF, DLE, <B>CR-@-CR</B>, and <B>Ctrl-X</B> are escaped.
<TR>
<TD><B>q</B>
<TD>Works in quiet mode.
<TR>
<TD>t <B><I>time</I></B>
<TD>Changes timeout to <I>time</I> tenths of seconds.
<TR>
<TD VALIGN="TOP"><B>v</B>
<TD>Works in verbose mode, causing a list of filenames to be appended to <B>/tmp/rzlog</B>.
</TABLE>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="087-094.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="106-111.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?