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

📄 466-473.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=466-473//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="462-465.html">Previous</A></TD>

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

<TD><A HREF="474-483.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>rcp......<TT>Remote File Copy</TT></B></FONT></P>

<P><B>rcp</B> <I>option(s) file1 file2</I></P>

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

<P>The <B>rcp</B> command copies files between machines. These can be machines on your local network or on the Internet.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>-k <I>realm</I></B>

<TD WIDTH="80%">Obtains tickets for the remote host in <I>realm</I> instead of the remote host&#146;s realm.

<TR>

<TD><B>-p</B>

<TD>Preserves modification times.

<TR>

<TD><B>-r</B>

<TD>Copies directories recursively.

<TR>

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

<TD>Encrypts files with DES encryption.

</TABLE>

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

<DL>

<DD><B>rlogin</B>

<DD><B>rsh</B>

</DL>

<P><FONT SIZE="+1"><B>rlogin......<TT>Remote Login</TT></B></FONT></P>

<P><B>rlogin</B> <I>option(s) hostname</I></P>

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

<P>The <B>rlogin</B> command opens a remote session on a specified <I>hostname</I>. It uses Kerberos authorization initially, but if the remote host doesn&#146;t support Kerberos, then the standard Berkeley <B>rhosts</B> authorization mechanism is used. (See the online manual page for more detailed information on Kerberos authentication.)</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>-8</B>

<TD WIDTH="80%">Allows an eight-bit input data path at all times; otherwise, parity bits are stripped except when the remote side&#146;s stop-and-start characters are other than <B>^S</B>/<B>^Q</B>.

<TR>

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

<TD>Turns on socket debugging on the TCP sockets used for communication with the remote host.

<TR>

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

<TD>Defines the escape character, replacing the default tilde (~) character.

<TR>

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

<TD>Prevents any character from being recognized as an escape character.

<TR>

<TD><B>-K</B>

<TD>Turns off Kerberos authentication.

<TR>

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

<TD>Obtains tickets for the remote host in realm <I>realm</I> instead of the remote host&#146;s realm as determined by <B>krb_realmofhost</B>

<TR>

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

<TD>Runs session in <B>litout</B> mode.

<TR>

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

<TD>Turns on DES encryption.

</TABLE>

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

<DL>

<DD><B>rsh</B>

<DD><B>kerberos</B>

<DD><B>krb_sendauth</B>

<DD><B>krb_realmofhost</B>

</DL>

<P><FONT SIZE="+1"><B>rsh......<TT>Remote Shell</TT></B></FONT></P>

<P><B>rsh</B> <I>option(s) hostname command</I></P>

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

<P>The <B>rsh</B> runs a <I>command</I> on a remote <I>hostname</I>. It copies its standard input to the remote command, the standard output of the remote command to its standard output, and the standard error of the remote command to its standard error. Interrupt, quit, and terminate signals are propagated to the remote command; <B>rsh</B> normally terminates when the remote command does.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="30%"><B>-K</B>

<TD WIDTH="70%">Turns off Kerberos authentication.

<TR>

<TD><B>-d</B>

<TD>Turns on socket debugging.

<TR>

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

<TD>Obtains tickets for the remote host in <I>realm</I> instead of the remote host&#146;s realm as determined by <B>krb_realmofhost</B>.

<TR>

<TD><B>-l user<I>name</I></B>

<TD>Specifies a remote <I>username</I>.

<TR>

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

<TD>Redirects input from the special device <B>/dev/null</B>.

<TR>

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

<TD>Turns on DES encryption.

</TABLE>

<P><FONT SIZE="+1"><B>rstart......<TT>Remote Start</TT></B></FONT></P>

<IMG SRC="images/05-151i.jpg"><P><B>rstart</B> <I>option(s) hostname command args</I></P>

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

<P>The <B>rstart</B> command is actually a sample implementation of a Remote Start client. It uses <B>rsh</B> as its underlying remote execution mechanism.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="30%" VALIGN="TOP"><B>-c<I>context</I></B>

<TD WIDTH="70%">Specifies <I>context</I> for the command, which is a general environment. The default is X.

<TR>

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

<TD>Interprets <I>command</I> on the command line as a generic command, as defined in the protocol document.

<TR>

<TD VALIGN="TOP"><B>-l <I>username</I></B>

<TD>Tells <B>rsh</B> that the command be run as the specified <I>username</I>.

<TR>

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

<TD>Runs in verbose mode, discarding output from the remote hostname&#146;s <B>rstart</B> helper and disconnecting from the <B>rsh</B> connection.

</TABLE>

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

<DL>

<DD><B>rsh</B>

<DD><B>rstartd</B>

</DL>

<P><FONT SIZE="+1"><B>rusers......<TT>Current Users</TT></B></FONT></P>

<P><B>rusers</B> <I>option(s) hostname</I></P>

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

<P>The <B>rusers</B> command produces information about the users logged in on a specific host (or hosts) or all machines on the local network.</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%">Lists all machines, even if no one is currently logged on them.

<TR>

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

<TD>Returns listings in long format: username, hostname, tty that the user is logged in to, the date and time the user logged in, the amount of time since the user typed on the keyboard, and the remote host they logged in from (if applicable).

</TABLE>

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

<DL>

<DD><B>rwho</B>

<DD><B>users</B>

<DD><B>who</B>

</DL>

<P><FONT SIZE="+1"><B>rwall......<TT>Write User</TT></B></FONT></P>

<P><B>rwall</B> <I>hostname filename</I></P>

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

<P>The <B>rwall</B> command sends a message to all the users logged on a specified <I>hostname</I>. The message can be sent via a specified <I>filename</I>, or else it can be typed directly and terminated with EOF (<B>Ctrl-D</B>).</P>

<P><FONT SIZE="+1"><B>rwho......<TT>Who Is Logged In</TT></B></FONT></P>

<P><B>rwho</B> <I>option</I></P>

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

<P>The <B>rwho</B> command shows who is logged in on local machines. The output is similar to <B>who</B>, except that the information covers everyone on the local network. If a machine does not report back to <B>rwho</B> in 11 minutes, then the machine is assumed to be down. Idle time for users under one hour is also reported.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%" VALIGN="TOP"><B>-a</B>

<TD WIDTH="80%">Report all users, even those who have not typed at their machines in the last hour.

</TABLE>

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

<DL>

<DD><B>rusers</B>

</DL>

<P><FONT SIZE="+1"><B>sliplogin......<TT>SLIP Login</TT></B></FONT></P>

<P><B>sliplogin</B> <I>loginname</I></P>

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

<P>The <B>sliplogin</B> command allows you to login an Internet system using a SLIP connection. It takes information from the <B>/etc/slip.hosts</B> file (matching the <I>loginname</I>) and then initiates a connection. The <B>/etc/slip.hosts</B> file must be configured by a root user.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="462-465.html">Previous</A></TD>

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

<TD><A HREF="474-483.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 + -