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

📄 430-432.html

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

<HEAD>

<TITLE>Linux Configuration and Installation:Linux and the Internet</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=1558285660//-->

<!--TITLE=Linux Configuration and Installation//-->

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

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

<!--AUTHOR=Eric Foster//-->

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

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

<!--CHAPTER=9//-->

<!--PAGES=430-432//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="427-430.html">Previous</A></TD>

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

<TD><A HREF="432-435.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H4 ALIGN="LEFT"><A NAME="Heading18"></A><FONT COLOR="#000077">Other Networking Commands</FONT></H4>

<P>In addition to <B>ftp</B>, which is used to transfer&#151;copy&#151;files from system to system, there are a number of other common networking commands. These commands work to help the connection among your computer and others on the same link. Generally, if you work at a site with multiple UNIX computers, these computers will be networked together, usually using the Ethernet network protocol. Your systems may also be networked with the worldwide Internet, which as you already know is a collection of connected networks. (Say that three times fast.)</P>

<P><FONT SIZE="+1"><B>Using the Rlogin Command</B></FONT></P>

<P>The <B>rlogin</B> command allows you to remotely login to another computer on your network (remember that if you&#146;re on the Internet, you&#146;re on a worldwide network). You must, of course, have a valid user account on any machine to which you want to login. To use <B>rlogin</B>, you need the name of the machine to login to. To login a machine named <I>nicollet</I>, you&#146;d use a command line like the following:</P>

<!-- CODE SNIP //-->

<PRE>

     gilbert:/$ rlogin nicollet

     Password:

</PRE>

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

<P>At the <I>Password</I> prompt, you may need to enter your password on machine <I>nicollet</I>, which may or may not be different from the password you use on your local machine. Once logged in, you&#146;re computing on the remote machine and can run any standard UNIX command. You also logout the same way you normally logout:</P>

<!-- CODE SNIP //-->

<PRE>

     gilbert:/$ logout

     Connection closed.

     $

</PRE>

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

<P>Note that after you logout from a remote machine, you&#146;re back to the command prompt at your local machine. This tends to get confusing, so be careful.

</P>

<P>The basic form of <B>rlogin</B> is:</P>

<!-- CODE SNIP //-->

<PRE>

     rlogin hostname

</PRE>

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

<P>where <I>hostname</I> is the name of the machine to login.</P>

<P><FONT SIZE="+1"><B>Using the Telnet Command</B></FONT></P>

<P>The <B>telnet</B> command works much the same as <B>rlogin</B> does, allowing you to connect directly to a remote machine. Because the <B>telnet</B> command is considered part of the toolkit used by the Internet surfer, it&#146;s actually gained in popularity over the years.</P>

<P>Telnet allows you either to run a command directly on a remote machine while displaying the results on your own or to run a specific command on a remote machine (many sites that allow Telnet put restrictions on what users can run, due to security concerns). With telnet, you only need to know the address of the machine you&#146;re connecting to, such as <I>sunsite.unc.edu</I>, as illustrated by the following:</P>

<!-- CODE //-->

<PRE>

  gilbert:/$ telnet

  telnet&gt; open sunsite.unc.edu

  Trying 198.86.40.81

  Connected

  *************** Welcome to SunSITE.unc.edu ***************

  SunSITE offers several public services via login. These include:



  NO MORE PUBLIC gopher login!

  Use lynx the simple WWW client to access gopher and Web areas

  For a simple WAIS client (over 500 databases),  login as swais

  For WAIS search of political databases,         login as politics

  For WAIS search of LINUX databases,             login as linux



  For a FTP session, ftp to sunsite.unc.edu. Then login as anonymous



  For more information about SunSITE, send mail to info@sunsite.unc.edu



  UNIX (R) System V Release 4.0 (calypso-2.oit.unc.edu)



  login: swais

</PRE>

<!-- END CODE //-->

<P>In this case, <I>sunsite.unc.edu</I> offers a variety of services to the general computing public, here centering around WAIS databases. Other Telnet sites may not offer such a wide variety of services; a site like <I>archie.rutgers.edu</I> offers only <B>archie</B> searches.</P>

<P>Unfortunately, Linux does not offer <B>archie</B> yet, so you&#146;ll need to use a public <B>archie</B> server to perform a search.</P>

<P><I>Sunsite.unc.edu</I> is a public Internet site. If you&#146;re using telnet within your corporation, the rules will be slightly different. Here, <I>sunsite.unc.edu</I> offers public access; you don&#146;t need an account on <I>sunsite.unc.edu</I>, nor do you need a password. However, <I>sunsite.unc.edu</I> does put restrictions on what can be done by a visitor; for example, you can&#146;t use the standard Linux command set and your options are limited to the login selections. For a private system, you&#146;ll need an account on the remote system before you can login, and you may be subject to the same sorts of restrictions.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="427-430.html">Previous</A></TD>

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

<TD><A HREF="432-435.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 + -