diff options
Diffstat (limited to '')
17 files changed, 0 insertions, 1753 deletions
diff --git a/slackbook/html/basic-network-commands-dns.html b/slackbook/html/basic-network-commands-dns.html deleted file mode 100644 index f8881aad2..000000000 --- a/slackbook/html/basic-network-commands-dns.html +++ /dev/null @@ -1,181 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>DNS Tools</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="traceroute" href="basic-network-commands-traceroute.html" /> -<link rel="NEXT" title="finger" href="basic-network-commands-finger.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a -href="basic-network-commands-traceroute.html" accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a -href="basic-network-commands-finger.html" accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-DNS" -name="BASIC-NETWORK-COMMANDS-DNS">13.3 DNS Tools</a></h1> - -<p>Domain Name Service (DNS for short) is that magical protocol that allows your computer -to turn meaningless domain names like www.slackware.com into meaningful IP address like -<tt class="HOSTID">64.57.102.34</tt>. Computers can't route packets to www.slackware.com, -but they can route packets to that domain name's IP address. This gives us a convenient -way to remember machines. Without DNS we'd have to keep a mental database of just what IP -address belongs to what computer, and that's assuming the IP address doesn't change. -Clearly using names for computers is better, but how do we map names to IP addresses?</p> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4475" name="AEN4475">13.3.1 <tt -class="COMMAND">host</tt></a></h2> - -<p><tt class="COMMAND">host</tt>(1) can do this for us. <tt class="COMMAND">host</tt> is -used to map names to IP addresses. It is a very quick and simple utility without a lot of -functions.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">host www.slackware.com</kbd> -www.slackware.com is an alias for slackware.com. -slackware.com has address 64.57.102.34 -</pre> -</td> -</tr> -</table> - -<p>But let's say for some reason we want to map an IP address to a domain name; what -then?</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4487" name="AEN4487">13.3.2 <tt -class="COMMAND">nslookup</tt></a></h2> - -<p><tt class="COMMAND">nslookup</tt> is a tried and true program that has weathered the -ages. <tt class="COMMAND">nslookup</tt> has been deprecated and may be removed from -future releases. There is not even a man page for this program.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">nslookup 64.57.102.34</kbd> -Note: nslookup is deprecated and may be removed from future releases. -Consider using the `dig' or `host' programs instead. Run nslookup with -the `-sil[ent]' option to prevent this message from appearing. -Server: 192.168.1.254 -Address: 192.168.1.254#53 - -Non-authoritative answer: -www.slackware.com canonical name = slackware.com. -Name: slackware.com -Address: 64.57.102.34 -</pre> -</td> -</tr> -</table> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4496" name="AEN4496">13.3.3 <tt -class="COMMAND">dig</tt></a></h2> - -<p>The meanest dog in the pound, the domain information groper, <tt -class="COMMAND">dig</tt>(1) for short, is the go-to program for finding DNS information. -<tt class="COMMAND">dig</tt> can grab just about anything from a DNS server including -reverse lookups, A, CNAME, MX, SP, and TXT records. <tt class="COMMAND">dig</tt> has many -command line options and if you're not familiar with it you should read through it's -extensive man page.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">dig @192.168.1.254 www.slackware.com mx</kbd> - -; <<>> DiG 9.2.2 <<>> @192.168.1.254 www.slackware.com mx -;; global options: printcmd -;; Got answer: -;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26362 -;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2 - -;; QUESTION SECTION: -;www.slackware.com. IN MX - -;; ANSWER SECTION: -www.slackware.com. 76634 IN CNAME slackware.com. -slackware.com. 86400 IN MX 1 mail.slackware.com. - -;; AUTHORITY SECTION: -slackware.com. 86400 IN NS ns1.cwo.com. -slackware.com. 86400 IN NS ns2.cwo.com. - -;; ADDITIONAL SECTION: -ns1.cwo.com. 163033 IN A 64.57.100.2 -ns2.cwo.com. 163033 IN A 64.57.100.3 - -;; Query time: 149 msec -;; SERVER: 192.168.1.254#53(192.168.1.254) -;; WHEN: Sat Nov 6 16:59:31 2004 -;; MSG SIZE rcvd: 159 -</pre> -</td> -</tr> -</table> - -<p>This should give you an idea how <tt class="COMMAND">dig</tt> works. -“@192.168.1.254” specifies the dns server to use. -“www.slackware.com” is the domain name I am performing a lookup on, and -“mx” is the type of lookup I am performing. The above query tells me that -e-mail to <tt class="HOSTID">www.slackware.com</tt> will instead be sent to <tt -class="HOSTID">mail.slackware.com</tt> for delivery.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a -href="basic-network-commands-traceroute.html" accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-finger.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top"><tt class="COMMAND">traceroute</tt></td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top"><tt class="COMMAND">finger</tt></td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-email.html b/slackbook/html/basic-network-commands-email.html deleted file mode 100644 index 487ea4bc4..000000000 --- a/slackbook/html/basic-network-commands-email.html +++ /dev/null @@ -1,241 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>email</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="The Secure shell" href="basic-network-commands-ssh.html" /> -<link rel="NEXT" title="Browsers" href="basic-network-commands-web.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-ssh.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-web.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-EMAIL" -name="BASIC-NETWORK-COMMANDS-EMAIL">13.7 email</a></h1> - -<p>Electronic mail is one of the most popular things one can do on the Internet. In 1998, -it was reported that more electronic mail was sent than regular mail. It is indeed common -and useful.</p> - -<p>Under Slackware, we provide a standard mail server, and several mail clients. All of -the clients discussed below are text-based. A lot of Windows users may be against this, -but you will find that a text based client is very convenient, especially when checking -mail remotely. Fear not, there are many graphical e-mail clients such as KDE's Kmail. If -you wish to use one of those check its help menu.</p> - -<div class="SECT2"> -<h2 class="SECT2"><a id="BASIC-NETWORK-COMMANDS-EMAIL-PINE" -name="BASIC-NETWORK-COMMANDS-EMAIL-PINE">13.7.1 <tt class="COMMAND">pine</tt></a></h2> - -<p><tt class="COMMAND">pine</tt>(1) is not <tt class="COMMAND">elm</tt>. Or so the saying -goes. The University of Washington created their program for Internet news and email out -of a need for an easy mail reader for their students. <tt class="COMMAND">pine</tt> is -one of the most popular email clients in use today and is available for nearly every -flavor of Unix and even Windows.</p> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-EMAIL-PINE" -name="FIG-BASIC-NETWORK-COMMANDS-EMAIL-PINE"></a> -<p><b>Figure 13-2. The Pine main menu</b></p> - -<p><img src="basic-network-commands/pine.png" /></p> -</div> - -<p>You will see a menu of commands and a row of command keys at the bottom. <tt -class="COMMAND">pine</tt> is indeed a complex program, so we will not discuss every -feature about it here.</p> - -<p>To see what's in your inbox, type <kbd class="USERINPUT">i</kbd>. Your messages are -listed with their date, author, and subject. Highlight the message you want and press -<kbd class="USERINPUT">enter</kbd> to view it. Pressing <kbd class="USERINPUT">r</kbd> -will start a reply to the message. Once you have written the response, type <b -class="KEYCAP">Ctrl</b>+<b class="KEYCAP">X</b> to send it. You can press <kbd -class="USERINPUT">i</kbd> to get back to the message listing.</p> - -<p>If you want to delete a message, press <kbd class="USERINPUT">d</kbd>. It will mark -the highlighted message for deletion. <tt class="COMMAND">pine</tt> deletes the mail when -you exit the program. <tt class="COMMAND">pine</tt> also lets you store your mail in -folders. You can get a listing of folders by pressing <kbd class="USERINPUT">l</kbd>. At -the message listing, press <kbd class="USERINPUT">s</kbd> to save it to another folder. -It will ask for the folder name to write the message to.</p> - -<p><tt class="COMMAND">pine</tt> offers many, many features; you should definitely have a -look at the man page for more information. It will contain the latest information about -the program.</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="BASIC-NETWORK-COMMANDS-EMAIL-ELM" -name="BASIC-NETWORK-COMMANDS-EMAIL-ELM">13.7.2 <tt class="COMMAND">elm</tt></a></h2> - -<p><tt class="COMMAND">elm</tt>(1) is another popular text-based email client. Though not -quite as user friendly as <tt class="COMMAND">pine</tt>, it's definitely been around a -lot longer.</p> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-EMAIL-ELM" -name="FIG-BASIC-NETWORK-COMMANDS-EMAIL-ELM"></a> -<p><b>Figure 13-3. Elm main screen</b></p> - -<p><img src="basic-network-commands/elm.png" /></p> -</div> - -<p>By default, you are placed in your inbox. The messages are listed with the message -number, date, sender, and subject. Use the arrow keys to highlight the message you want. -Press <kbd class="USERINPUT">Enter</kbd> to read the message.</p> - -<p>To compose a new message, type <kbd class="USERINPUT">m</kbd> at the main screen. The -<kbd class="USERINPUT">d</kbd> key will flag a message for deletion. And the <kbd -class="USERINPUT">r</kbd> key will reply to the current message you are reading. All of -these keys are displayed at the bottom of the screen with a prompt.</p> - -<p>The man page discusses <tt class="COMMAND">elm</tt> in more detail, so you will -probably want to consult that before using <tt class="COMMAND">elm</tt>.</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="BASIC-NETWORK-COMMANDS-EMAIL-MUTT" -name="BASIC-NETWORK-COMMANDS-EMAIL-MUTT">13.7.3 <tt class="COMMAND">mutt</tt></a></h2> - -<p>“All mail clients suck. This one just sucks less.” <tt -class="COMMAND">mutt</tt>'s original interface was based on <tt class="COMMAND">elm</tt> -with added features found in other popular mailclients, resulting in a hybrid mutt.</p> - -<p>Some of <tt class="COMMAND">mutt</tt>'s features include:</p> - -<ul> -<li> -<p>color support</p> -</li> - -<li> -<p>message threading</p> -</li> - -<li> -<p>MIME and PGP/MIME support</p> -</li> - -<li> -<p>pop3 and imap support</p> -</li> - -<li> -<p>support for multiple mailbox formats (mbox, MMDF, MH, maildir)</p> -</li> - -<li> -<p><span class="emphasis"><i class="EMPHASIS">highly</i></span> customizable</p> -</li> -</ul> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-EMAIL-MUTT" -name="FIG-BASIC-NETWORK-COMMANDS-EMAIL-MUTT"></a> -<p><b>Figure 13-4. Mutt main screen</b></p> - -<p><img src="basic-network-commands/mutt.png" /></p> -</div> - -<p>if you're looking for a mail client that will let you be in total control over -everything, then you will like <tt class="COMMAND">mutt</tt>. all the default settings -can be customized, keybindings can be changed. if you like to add a macro, you can.</p> - -<p>you probably want to take a look at the <tt class="FILENAME">muttrc</tt> manpage, -which will tell you how to configure everything. or take a look at the included example -<tt class="FILENAME">muttrc</tt> file.</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="BASIC-NETWORK-COMMANDS-EMAIL-NAIL" -name="BASIC-NETWORK-COMMANDS-EMAIL-NAIL">13.7.4 <tt class="COMMAND">nail</tt></a></h2> - -<p><tt class="COMMAND">nail</tt>(1) is a command line driven mail client. It is very -primitive and offers pretty much nothing in the way of user interfaces. However, mailx is -handy for times when you need to quickly mail something, scripting a bulk mailer, testing -your MTA installation or something similar. Note that Slackware creates symbolic links to -<tt class="COMMAND">nail</tt> at <tt class="FILENAME">/usr/bin/mail</tt> and <tt -class="FILENAME">/usr/bin/mailx</tt>. Any of these three commands executes the same -program. In fact, you will most likely see <tt class="COMMAND">nail</tt> referred to as -<tt class="COMMAND">mail</tt>.</p> - -<p>The basic command line is:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">mailx <subject> <to-addr></kbd> -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">mailx</tt> reads the message body from standard input. So you can -cat a file into this command to mail it, or you can just type text and hit <b -class="KEYCAP">Ctrl</b>+<b class="KEYCAP">D</b> when finished with the message.</p> - -<p>Here is an example of mailing a program source file to another person.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">cat randomfunc.c | mail -s "Here's that function" asdf@example.net</kbd> -</pre> -</td> -</tr> -</table> - -<p>The man page explains more of what <tt class="COMMAND">nail</tt> can do, so you will -probably want to have a look at that before using it.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-ssh.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-web.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">The Secure shell</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">Browsers</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-finger.html b/slackbook/html/basic-network-commands-finger.html deleted file mode 100644 index 08eca57c6..000000000 --- a/slackbook/html/basic-network-commands-finger.html +++ /dev/null @@ -1,132 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>finger</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="DNS Tools" href="basic-network-commands-dns.html" /> -<link rel="NEXT" title="telnet" href="basic-network-commands-telnet.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-dns.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a -href="basic-network-commands-telnet.html" accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-FINGER" -name="BASIC-NETWORK-COMMANDS-FINGER">13.4 <tt class="COMMAND">finger</tt></a></h1> - -<p><tt class="COMMAND">finger</tt>(1) will retrieve information about the specified user. -You give finger a username or an email address and it will try to contact the necessary -server and retrieve the username, office, telephone number, and other pieces of -information. Here is an example:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">finger johnc@idsoftware.com</kbd> -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">finger</tt> can return the username, mail status, phone numbers, -and files referred to as “dot plan” and “dot project”. Of course, -the information returned varies with each <tt class="COMMAND">finger</tt> server. The one -included with Slackware returns the following information by default:</p> - -<ul> -<li> -<p>Username</p> -</li> - -<li> -<p>Room number</p> -</li> - -<li> -<p>Home phone number</p> -</li> - -<li> -<p>Work phone number</p> -</li> - -<li> -<p>Login status</p> -</li> - -<li> -<p>Email status</p> -</li> - -<li> -<p>Contents of the <tt class="FILENAME">.plan</tt> file in the user's home directory</p> -</li> - -<li> -<p>Contents of the <tt class="FILENAME">.project</tt> file in the user's home -directory</p> -</li> -</ul> - -<p>The first four items can be set with the <tt class="COMMAND">chfn</tt> command. It -stores those values in the <tt class="FILENAME">/etc/passwd</tt> file. To change the -information in your <tt class="FILENAME">.plan</tt> or <tt class="FILENAME">.project</tt> -file, just edit them with your favorite text editor. They must reside in your home -directory and must be called <tt class="FILENAME">.plan</tt> and <tt -class="FILENAME">.project</tt>.</p> - -<p>Many users <tt class="COMMAND">finger</tt> their own account from a remote machine to -quickly see if they have new email. Or, you can see a user's plan or current project.</p> - -<p>Like many commands, <tt class="COMMAND">finger</tt> has options. Check the man page -for more information on what special options you can use.</p> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-dns.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-telnet.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">DNS Tools</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top"><tt class="COMMAND">telnet</tt></td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-ftp.html b/slackbook/html/basic-network-commands-ftp.html deleted file mode 100644 index a5b48f073..000000000 --- a/slackbook/html/basic-network-commands-ftp.html +++ /dev/null @@ -1,279 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>FTP Clients</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="Browsers" href="basic-network-commands-web.html" /> -<link rel="NEXT" title="Talking to Other People" -href="basic-network-commands-talk.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-web.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-talk.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-FTP" -name="BASIC-NETWORK-COMMANDS-FTP">13.9 FTP Clients</a></h1> - -<p>FTP stands for the File Transfer Protocol. It allows you to send and receive files -between two computers. There is the FTP server and the FTP client. We discuss the client -in this section.</p> - -<p>For the curious, the “client” is you. The “server” is the -computer that answers your FTP request and lets you login. You will download files from -and upload files to the server. The client cannot accept FTP connections, it can only -connect to servers.</p> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4871" name="AEN4871">13.9.1 <tt -class="COMMAND">ftp</tt></a></h2> - -<p>To connect to an FTP server, simply run the <tt class="COMMAND">ftp</tt>(1) command -and specify the host:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">ftp <hostname> [port]</kbd> -</pre> -</td> -</tr> -</table> - -<p>If the host is running an FTP server, it will ask for a username and password. You can -log in as yourself or as “anonymous”. Anonymous FTP sites are very popular -for software archives. For example, to get Slackware Linux via FTP, you must use -anonymous FTP.</p> - -<p>Once connected, you will be at the <var class="LITERAL">ftp></var> prompt. There -are special commands for FTP, but they are similar to other standard commands. The -following shows some of the basic commands and what they do:</p> - -<div class="TABLE"><a id="AEN4883" name="AEN4883"></a> -<p><b>Table 13-1. <tt class="COMMAND">ftp</tt> commands</b></p> - -<table border="0" frame="void" class="CALSTABLE"> -<col width="1*" /> -<col width="3*" /> -<thead> -<tr> -<th>Command</th> -<th>Purpose</th> -</tr> -</thead> - -<tbody> -<tr> -<td><tt class="COMMAND">ls</tt></td> -<td>List files</td> -</tr> - -<tr> -<td><tt class="COMMAND">cd <dirname></tt></td> -<td>Change directory</td> -</tr> - -<tr> -<td><tt class="COMMAND">bin</tt></td> -<td>Set binary transfer mode</td> -</tr> - -<tr> -<td><tt class="COMMAND">ascii</tt></td> -<td>Set ASCII transfer mode</td> -</tr> - -<tr> -<td><tt class="COMMAND">get <filename></tt></td> -<td>Download a file</td> -</tr> - -<tr> -<td><tt class="COMMAND">put <filename></tt></td> -<td>Upload a file</td> -</tr> - -<tr> -<td><tt class="COMMAND">hash</tt></td> -<td>Toggle hash mark stats indicator</td> -</tr> - -<tr> -<td><tt class="COMMAND">tick</tt></td> -<td>Toggle byte counter indicator</td> -</tr> - -<tr> -<td><tt class="COMMAND">prom</tt></td> -<td>Toggle interactive mode for downloads</td> -</tr> - -<tr> -<td><tt class="COMMAND">mget <mask></tt></td> -<td>Download a file or group of files; wildcards are allowed</td> -</tr> - -<tr> -<td><tt class="COMMAND">mput <mask></tt></td> -<td>Upload a file or group of files; wildcards are allowed</td> -</tr> - -<tr> -<td><tt class="COMMAND">quit</tt></td> -<td>Log off the FTP server</td> -</tr> -</tbody> -</table> -</div> - -<p>You can also use some of the following commands which are quite self-explanatory: <tt -class="COMMAND">chmod</tt>, <tt class="COMMAND">delete</tt>, <tt -class="COMMAND">rename</tt>, <tt class="COMMAND">rmdir</tt>. For a complete list of all -commands and their meaning, just type <kbd class="USERINPUT">help</kbd> or <kbd -class="USERINPUT">?</kbd> and you'll see a complete listing on screen.</p> - -<p>FTP is a fairly simple program to use, but lacks the user interface that many of us -are used to nowadays. The man page discusses some of the command line options for <tt -class="COMMAND">ftp</tt>(1).</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -ftp> <kbd class="USERINPUT">ls *.TXT</kbd> -200 PORT command successful. -150 Opening ASCII mode data connection for /bin/ls. --rw-r--r-- 1 root 100 18606 Apr 6 2002 BOOTING.TXT --rw-r--r-- 1 root 100 10518 Jun 13 2002 COPYRIGHT.TXT --rw-r--r-- 1 root 100 602 Apr 6 2002 CRYPTO_NOTICE.TXT --rw-r--r-- 1 root 100 32431 Sep 29 02:56 FAQ.TXT --rw-r--r-- 1 root 100 499784 Mar 3 19:29 FILELIST.TXT --rw-r--r-- 1 root 100 241099 Mar 3 19:12 PACKAGES.TXT --rw-r--r-- 1 root 100 12339 Jun 19 2002 README81.TXT --rw-r--r-- 1 root 100 14826 Jun 17 2002 SPEAKUP_DOCS.TXT --rw-r--r-- 1 root 100 15434 Jun 17 2002 SPEAK_INSTALL.TXT --rw-r--r-- 1 root 100 2876 Jun 17 2002 UPGRADE.TXT -226 Transfer complete. -ftp> <kbd class="USERINPUT">tick</kbd> -Tick counter printing on (10240 bytes/tick increment). -ftp> <kbd class="USERINPUT">get README81.TXT</kbd> -local: README81.TXT remote: README81.TXT -200 PORT command successful. -150 Opening BINARY mode data connection for README81.TXT (12339 bytes). -Bytes transferred: 12339 -226 Transfer complete. -12339 bytes received in 0.208 secs (58 Kbytes/sec) -</pre> -</td> -</tr> -</table> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="BASIC-NETWORK-COMMANDS-FTP-NCFTP" -name="BASIC-NETWORK-COMMANDS-FTP-NCFTP">13.9.2 <tt class="COMMAND">ncftp</tt></a></h2> - -<p><tt class="COMMAND">ncftp</tt>(1) (pronounced "Nik-F-T-P") is an alternative to the -traditional ftp client that comes with Slackware. It is still a text-based program, but -offers many advantages over <tt class="COMMAND">ftp</tt>, including:</p> - -<ul> -<li> -<p>Tab completion</p> -</li> - -<li> -<p>Bookmarks file</p> -</li> - -<li> -<p>More liberal wildcard uses</p> -</li> - -<li> -<p>Command history</p> -</li> -</ul> - -<p>By default, <tt class="COMMAND">ncftp</tt> will try to log in anonymously to the -server you specify. You can force <tt class="COMMAND">ncftp</tt> to present a login -prompt with the “<var class="OPTION">-u</var>” option. Once logged in, you -can use the same commands as in <tt class="COMMAND">ftp</tt>, only you'll notice a nicer -interface, one that works more like <tt class="COMMAND">bash</tt>.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -ncftp /pub/linux/slackware > <kbd class="USERINPUT">cd slackware-current/</kbd> -Please read the file README81.TXT - it was last modified on Wed Jun 19 16:24:21 2002 - 258 days ago -CWD command successful. -ncftp ...ware/slackware-current > <kbd class="USERINPUT">ls</kbd> -BOOTING.TXT FAQ.TXT bootdisks/ -CHECKSUMS FILELIST.TXT extra/ -CHECKSUMS.asc GPG-KEY isolinux/ -CHECKSUMS.md5 PACKAGES.TXT kernels/ -CHECKSUMS.md5.asc PRERELEASE_NOTES pasture/ -COPYING README81.TXT rootdisks/ -COPYRIGHT.TXT SPEEKUP_DOCS.TXT slackware/ -CRYPTO_NOTICE.TXT SPEEK_INSTALL.TXT source/ -CURRENT.WARNING Slackware-HOWTO -ChangeLog.txt UPGRADE.TXT -ncftp ...ware/slackware-current > <kbd class="USERINPUT">get README81.TXT</kbd> -README81.TXT: 12.29 kB 307.07 kB/s -</pre> -</td> -</tr> -</table> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-web.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-talk.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">Browsers</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">Talking to Other People</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-ssh.html b/slackbook/html/basic-network-commands-ssh.html deleted file mode 100644 index f9912fe1e..000000000 --- a/slackbook/html/basic-network-commands-ssh.html +++ /dev/null @@ -1,100 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>The Secure shell</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="telnet" href="basic-network-commands-telnet.html" /> -<link rel="NEXT" title="email" href="basic-network-commands-email.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-telnet.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-email.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-SSH" -name="BASIC-NETWORK-COMMANDS-SSH">13.6 The Secure shell</a></h1> - -<p>Today, secure shell basks in the adoration that <tt class="COMMAND">telnet</tt> once -enjoyed. <tt class="COMMAND">ssh</tt>(1) allows one to make a connection to a remote -machine and execute programs as if one were physically present; however, <tt -class="COMMAND">ssh</tt> encrypts all the data travelling between the two computers so -even if others intercept the conversation, they are unable to understand it. A typical -secure shell connection follows.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">ssh carrier.lizella.net -l alan</kbd> -The authenticity of host 'carrier.lizella.net (192.168.1.253)' can't be -established. -RSA key fingerprint is 0b:e2:5d:43:4c:39:4f:8c:b9:85:db:b2:fa:25:e9:9d. -Are you sure you want to continue connecting (yes/no)? yes -Warning: Permanently added 'carrier.lizella.net' (RSA) to the list of -known hosts. -Password: <kbd class="USERINPUT">password</kbd> -Last login: Sat Nov 6 16:32:19 2004 from 192.168.1.102 -Linux 2.4.26-smp. -alan@carrier:~$ <kbd class="USERINPUT">ls -l MANIFEST</kbd> --rw-r--r-- 1 alan users 23545276 2004-10-28 20:04 MANIFEST -alan@carrier:~$ <kbd class="USERINPUT">exit</kbd> -logout -Connection to carrier.lizella.net closed. -</pre> -</td> -</tr> -</table> - -<p>There you see me making an ssh connection to <tt -class="HOSTID">carrier.lizella.net</tt>, and checking the permissions on the <tt -class="FILENAME">MANIFEST</tt> file.</p> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-telnet.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-email.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top"><tt class="COMMAND">telnet</tt></td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">email</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-talk.html b/slackbook/html/basic-network-commands-talk.html deleted file mode 100644 index 5c61119e3..000000000 --- a/slackbook/html/basic-network-commands-talk.html +++ /dev/null @@ -1,184 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>Talking to Other People</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="FTP Clients" href="basic-network-commands-ftp.html" /> -<link rel="NEXT" title="Security" href="security.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-ftp.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="security.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-TALK" -name="BASIC-NETWORK-COMMANDS-TALK">13.10 Talking to Other People</a></h1> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4989" name="AEN4989">13.10.1 <tt -class="COMMAND">wall</tt></a></h2> - -<p><tt class="COMMAND">wall</tt>(1) is a quick way to write a message to the users on a -system. The basic syntax is:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">wall [file]</kbd> -</pre> -</td> -</tr> -</table> - -<p>This will result in the contents of [file] being displayed on the terminals of all -currently logged in users. If you don't specify a file, wall will read from standard -input, so you can just type your message, and end with <b class="KEYCAP">Ctrl</b>+<b -class="KEYCAP">d</b>.</p> - -<p><tt class="COMMAND">wall</tt> doesn't have many features, and apart from letting your -users know that you're about to do some serious maintenance to the system, or even reboot -it, so they have time to save their work and log off :)</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN5006" name="AEN5006">13.10.2 <tt -class="COMMAND">talk</tt></a></h2> - -<p><tt class="COMMAND">talk</tt>(1) allows two users to chat. It splits the screen in -half, horizontally. To request a chat with another user, use this command:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">talk <person> [ttyname]</kbd> -</pre> -</td> -</tr> -</table> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-TALK-TALK" -name="FIG-BASIC-NETWORK-COMMANDS-TALK-TALK"></a> -<p><b>Figure 13-7. Two users in a <tt class="COMMAND">talk</tt> session</b></p> - -<p><img src="basic-network-commands/talk.png" /></p> -</div> - -<p>If you specify just a username, the chat request is assumed to be local, so only local -users are queried. The ttyname is required if you want to ring a user on a specific -terminal (if the user is logged in more than once). The required information for <tt -class="COMMAND">talk</tt> can be obtained from the <tt class="COMMAND">w</tt>(1) -command.</p> - -<p><tt class="COMMAND">talk</tt> can also ring users on remote hosts. For the username -you simply specify an email address. <tt class="COMMAND">talk</tt> will try to contact -that remote user on that host.</p> - -<p><tt class="COMMAND">talk</tt> is somewhat limited. It only supports two users and is -half-duplex.</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN5033" name="AEN5033">13.10.3 <tt -class="COMMAND">ytalk</tt></a></h2> - -<p><tt class="COMMAND">ytalk</tt>(1) is a backwards compatible replacement for <tt -class="COMMAND">talk</tt>. It comes with Slackware as the <tt class="COMMAND">ytalk</tt> -command. The syntax is similar, but has a few differences:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">ytalk <username>[#ttyname]</kbd> -</pre> -</td> -</tr> -</table> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-TALK-YTALK" -name="FIG-BASIC-NETWORK-COMMANDS-TALK-YTALK"></a> -<p><b>Figure 13-8. Two users in a <tt class="COMMAND">ytalk</tt> session</b></p> - -<p><img src="basic-network-commands/ytalk.png" /></p> -</div> - -<p>The username and terminal are specified the same as under talk, except you must put -them together with the hash mark (#).</p> - -<p>ytalk offers several advantages:</p> - -<ul> -<li> -<p>It supports more than two users.</p> -</li> - -<li> -<p>A menu of options that can be brought up anytime with <kbd -class="USERINPUT">Esc</kbd>.</p> -</li> - -<li> -<p>You can shell out while still in the talk session.</p> -</li> - -<li> -<p>Plus more...</p> -</li> -</ul> - -<p>If you're a server administrator, you'll want to make sure that the <tt -class="COMMAND">ntalk</tt> port is enabled in <tt class="FILENAME">/etc/inetd.conf</tt>. -<tt class="COMMAND">ytalk</tt> needs that to work properly.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-ftp.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="security.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">FTP Clients</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">Security</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-telnet.html b/slackbook/html/basic-network-commands-telnet.html deleted file mode 100644 index 736a26486..000000000 --- a/slackbook/html/basic-network-commands-telnet.html +++ /dev/null @@ -1,173 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>telnet</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="finger" href="basic-network-commands-finger.html" /> -<link rel="NEXT" title="The Secure shell" href="basic-network-commands-ssh.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-finger.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-ssh.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-TELNET" -name="BASIC-NETWORK-COMMANDS-TELNET">13.5 <tt class="COMMAND">telnet</tt></a></h1> - -<p>Someone once stated that <tt class="COMMAND">telnet</tt>(1) was the coolest thing he -had ever seen on computers. The ability to remotely log in and do stuff on another -computer is what separates Unix and Unix-like operating systems from other operating -systems.</p> - -<p><tt class="COMMAND">telnet</tt> allows you to log in to a computer, just as if you -were sitting at the terminal. Once your username and password are verified, you are given -a shell prompt. From here, you can do anything requiring a text console. Compose email, -read newsgroups, move files around, and so on. If you are running X and you <tt -class="COMMAND">telnet</tt> to another machine, you can run X programs on the remote -computer and display them on yours.</p> - -<p>To login to a remote machine, use this syntax:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">telnet <<var -class="REPLACEABLE">hostname</var>></kbd> -</pre> -</td> -</tr> -</table> - -<p>If the host responds, you will receive a login prompt. Give it your username and -password. That's it. You are now at a shell. To quit your telnet session, use either the -<tt class="COMMAND">exit</tt> command or the <tt class="COMMAND">logout</tt> command.</p> - -<div class="WARNING"> -<table class="WARNING" width="100%" border="0"> -<tr> -<td width="25" align="CENTER" valign="TOP"><img src="./imagelib/admon/warning.png" -hspace="5" alt="Warning" /></td> -<td align="LEFT" valign="TOP"> -<p><tt class="COMMAND">telnet</tt> does not encrypt the information it sends. Everything -is sent in plain text, even passwords. It is not advisable to use <tt -class="COMMAND">telnet</tt> over the Internet. Instead, consider the <tt -class="COMMAND">Secure Shell</tt>. It encrypts all traffic and is available for free.</p> -</td> -</tr> -</table> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4593" name="AEN4593">13.5.1 The other use of telnet</a></h2> - -<p>Now that we have convinced you not to use the telnet protocol anymore to log into a -remote machine, we'll show you a couple of useful ways to use <tt -class="COMMAND">telnet</tt>.</p> - -<p>You can also use the <tt class="COMMAND">telnet</tt> command to connect to a host on a -certain port.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">telnet <<var -class="REPLACEABLE">hostname</var>> [port]</kbd> -</pre> -</td> -</tr> -</table> - -<p>This can be quite handy when you quickly need to test a certain service, and you need -full control over the commands, and you need to see what exactly is going on. You can -interactively test or use an SMTP server, a POP3 server, an HTTP server, etc. this -way.</p> - -<p>In the next figure you'll see how you can <tt class="COMMAND">telnet</tt> to a HTTP -server on port 80, and get some basic information from it.</p> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-TELNET-WEB" -name="FIG-BASIC-NETWORK-COMMANDS-TELNET-WEB"></a> -<p><b>Figure 13-1. Telnetting to a webserver</b></p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">telnet store.slackware.com 80</kbd> -Trying 69.50.233.153... -Connected to store.slackware.com. -Escape character is '^]'. -HEAD / HTTP/1.0 - -HTTP/1.1 200 OK -Date: Mon, 25 Apr 2005 20:47:01 GMT -Server: Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7d -Last-Modified: Fri, 18 Apr 2003 10:58:54 GMT -ETag: "193424-c0-3e9fda6e" -Accept-Ranges: bytes -Content-Length: 192 -Connection: close -Content-Type: text/html - -Connection closed by foreign host. -<samp class="PROMPT">%</samp> -</pre> -</td> -</tr> -</table> -</div> - -<p>You can do the same for other plain-text protocols, as long as you know what port to -connect to, and what the commands are.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-finger.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-ssh.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top"><tt class="COMMAND">finger</tt></td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">The Secure shell</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-traceroute.html b/slackbook/html/basic-network-commands-traceroute.html deleted file mode 100644 index fead8c007..000000000 --- a/slackbook/html/basic-network-commands-traceroute.html +++ /dev/null @@ -1,106 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>traceroute</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="NEXT" title="DNS Tools" href="basic-network-commands-dns.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-dns.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-TRACEROUTE" -name="BASIC-NETWORK-COMMANDS-TRACEROUTE">13.2 <tt -class="COMMAND">traceroute</tt></a></h1> - -<p>Slackware's <tt class="COMMAND">traceroute</tt>(8) command is a very useful network -diagnostic tool. <tt class="COMMAND">traceroute</tt> displays each host that a packet -travels through as it tries to reach its destination. You can see how many -“hops” from the Slackware web site you are with this command:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">traceroute www.slackware.com</kbd> -</pre> -</td> -</tr> -</table> - -<p>Each host will be displayed, along with the response times at each host. Here is an -example output:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">traceroute www.slackware.com</kbd> -traceroute to www.slackware.com (204.216.27.13), 30 hops max, 40 byte packets -1 zuul.tdn (192.168.1.1) 0.409 ms 1.032 ms 0.303 ms -2 207.171.227.254 (207.171.227.254) 18.218 ms 32.873 ms 32.433 ms -3 border-sf-2-0-4.sirius.com (205.134.230.254) 15.662 ms 15.731 ms 16.142 ms -4 pb-nap.crl.net (198.32.128.20) 20.741 ms 23.672 ms 21.378 ms -5 E0-CRL-SFO-03-E0X0.US.CRL.NET (165.113.55.3) 22.293 ms 21.532 ms 21.29 ms -6 T1-CDROM-00-EX.US.CRL.NET (165.113.118.2) 24.544 ms 42.955 ms 58.443 ms -7 www.slackware.com (204.216.27.13) 38.115 ms 53.033 ms 48.328 ms -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">traceroute</tt> is similar to <tt class="COMMAND">ping</tt> in -that it uses ICMP packets. There are several options that you can specify with <tt -class="COMMAND">traceroute</tt>. These options are explained in detail in the man -page.</p> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-dns.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">Basic Network Commands</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">DNS Tools</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands-web.html b/slackbook/html/basic-network-commands-web.html deleted file mode 100644 index e3f3b6c5f..000000000 --- a/slackbook/html/basic-network-commands-web.html +++ /dev/null @@ -1,215 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>Browsers</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="UP" title="Basic Network Commands" href="basic-network-commands.html" /> -<link rel="PREVIOUS" title="email" href="basic-network-commands-email.html" /> -<link rel="NEXT" title="FTP Clients" href="basic-network-commands-ftp.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="SECT1" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="basic-network-commands-email.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom">Chapter 13 Basic Network Commands</td> -<td width="10%" align="right" valign="bottom"><a href="basic-network-commands-ftp.html" -accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-WEB" -name="BASIC-NETWORK-COMMANDS-WEB">13.8 Browsers</a></h1> - -<p>The first thing that people think about when they hear the word Internet is -“surfing the net”. Or looking at websites using a web browser. This is -probably by far the most popular use of the Internet for the average user.</p> - -<p>Slackware provides popular graphical web browsers in the “XAP” series, as -well as text mode browsers in the “N” series. We'll take a quick look at some -of the most common options below.</p> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4776" name="AEN4776">13.8.1 <tt -class="COMMAND">lynx</tt></a></h2> - -<p><tt class="COMMAND">lynx</tt>(1) is a text-based web browser. It is a very quick way -of looking up something on the Internet. Sometimes graphics just get in the way if you -know exactly what you're after.</p> - -<p>To start <tt class="COMMAND">lynx</tt>, just type <tt class="COMMAND">lynx</tt> at the -prompt:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">lynx</kbd> -</pre> -</td> -</tr> -</table> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-WEB-LYNX" -name="FIG-BASIC-NETWORK-COMMANDS-WEB-LYNX"></a> -<p><b>Figure 13-5. Lynx default start page</b></p> - -<p><img src="basic-network-commands/lynx.png" /></p> -</div> - -<p>You may want to specify a site for <tt class="COMMAND">lynx</tt> to open to:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">lynx http://www.slackware.com</kbd> -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">lynx</tt> prints the command keys and what they do at the bottom -of the screen. The up and down arrow keys move around the document, <kbd -class="USERINPUT">Enter</kbd> selects the highlighted link, and the <kbd -class="USERINPUT">left arrow</kbd> goes back to the previous page. Typing <kbd -class="USERINPUT">d</kbd> will download the currently selected file. The <kbd -class="USERINPUT">g</kbd> command brings up the Go prompt, where you can give <tt -class="COMMAND">lynx</tt> a URL to open.</p> - -<p>There are many other commands in <tt class="COMMAND">lynx</tt>. You can either consult -the man page, or type <kbd class="USERINPUT">h</kbd> to get the help screen for more -information.</p> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4813" name="AEN4813">13.8.2 <tt -class="COMMAND">links</tt></a></h2> - -<p>Just like <tt class="COMMAND">lynx</tt>, <tt class="COMMAND">links</tt> is a textmode -web browser, where you do all the navigation using the keyboard. However, when you press -the <kbd class="USERINPUT">Esc</kbd> key, it will activate a very convenient pulldown -menu on the top of the screen. This makes it very easy to use, without having to learn -all the keyboard shortcuts. People who do not use a text browser every day will -appreciate this feature.</p> - -<p><tt class="COMMAND">links</tt> seems to have better support for both frames and -tables, when compared to <tt class="COMMAND">lynx</tt>.</p> - -<div class="FIGURE"><a id="FIG-BASIC-NETWORK-COMMANDS-WEB-LINKS" -name="FIG-BASIC-NETWORK-COMMANDS-WEB-LINKS"></a> -<p><b>Figure 13-6. Links, with the file menu open</b></p> - -<p><img src="basic-network-commands/links.png" /></p> -</div> -</div> - -<div class="SECT2"> -<h2 class="SECT2"><a id="AEN4831" name="AEN4831">13.8.3 <tt -class="COMMAND">wget</tt></a></h2> - -<p><tt class="COMMAND">wget</tt>(1) is a command line utility that will download files -from a specified URL. While not an actual web-browser, <tt class="COMMAND">wget</tt> is -used primarily to grab whole or partial web sites for offline viewing, or for fast -download of single files from HTTP or FTP servers instead. The basic syntax is:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">wget <url></kbd> -</pre> -</td> -</tr> -</table> - -<p>You can also pass options. For example, this will download the Slackware web site:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">wget --recursive http://www.slackware.com</kbd> -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">wget</tt> will create a <tt -class="FILENAME">www.slackware.com</tt> directory and store the files in there, just as -the site does.</p> - -<p><tt class="COMMAND">wget</tt> can also download files from FTP sites; just specify an -FTP URL instead of an HTTP one.</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd -class="USERINPUT">wget ftp://ftp.gnu.org/gnu/wget/wget-1.8.2.tar.gz</kbd> ---12:18:16-- ftp://ftp.gnu.org/gnu/wget/wget-1.8.2.tar.gz - => `wget-1.8.2.tar.gz' -Resolving ftp.gnu.org... done. -Connecting to ftp.gnu.org[199.232.41.7]:21... connected. -Logging in as anonymous ... Logged in! -==> SYST ... done. ==> PWD ... done. -==> TYPE I ... done. ==> CWD /gnu/wget ... done. -==> PORT ... done. ==> RETR wget-1.8.2.tar.gz ... done. -Length: 1,154,648 (unauthoritative) - -100%[==================================>] 1,154,648 209.55K/s ETA 00:00 - -12:18:23 (209.55KB/s) - `wget-1.8.2.tar.gz' saved [1154648] -</pre> -</td> -</tr> -</table> - -<p><tt class="COMMAND">wget</tt> has many more options, which make it nice for site -specific scripts (web site mirroring and so forth). The man page should be consulted for -more information.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="basic-network-commands-email.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a href="basic-network-commands-ftp.html" -accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">email</td> -<td width="34%" align="center" valign="top"><a href="basic-network-commands.html" -accesskey="U">Up</a></td> -<td width="33%" align="right" valign="top">FTP Clients</td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands.html b/slackbook/html/basic-network-commands.html deleted file mode 100644 index 7ee787511..000000000 --- a/slackbook/html/basic-network-commands.html +++ /dev/null @@ -1,142 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> -<meta name="generator" content="HTML Tidy, see www.w3.org" /> -<title>Basic Network Commands</title> -<meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.7" /> -<link rel="HOME" title="Slackware Linux Essentials" href="index.html" /> -<link rel="PREVIOUS" title="Shutting Down Properly" -href="essential-sysadmin-shutdown.html" /> -<link rel="NEXT" title="traceroute" href="basic-network-commands-traceroute.html" /> -<link rel="STYLESHEET" type="text/css" href="docbook.css" /> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -</head> -<body class="CHAPTER" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#840084" -alink="#0000FF"> -<div class="NAVHEADER"> -<table summary="Header navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<th colspan="3" align="center">Slackware Linux Essentials</th> -</tr> - -<tr> -<td width="10%" align="left" valign="bottom"><a href="essential-sysadmin-shutdown.html" -accesskey="P">Prev</a></td> -<td width="80%" align="center" valign="bottom"></td> -<td width="10%" align="right" valign="bottom"><a -href="basic-network-commands-traceroute.html" accesskey="N">Next</a></td> -</tr> -</table> - -<hr align="LEFT" width="100%" /> -</div> - -<div class="CHAPTER"> -<h1><a id="BASIC-NETWORK-COMMANDS" name="BASIC-NETWORK-COMMANDS"></a>Chapter 13 Basic -Network Commands</h1> - -<div class="TOC"> -<dl> -<dt><b>Table of Contents</b></dt> - -<dt>13.1 <a href="basic-network-commands.html#BASIC-NETWORK-COMMANDS-PING"><tt -class="COMMAND">ping</tt></a></dt> - -<dt>13.2 <a href="basic-network-commands-traceroute.html"><tt -class="COMMAND">traceroute</tt></a></dt> - -<dt>13.3 <a href="basic-network-commands-dns.html">DNS Tools</a></dt> - -<dt>13.4 <a href="basic-network-commands-finger.html"><tt -class="COMMAND">finger</tt></a></dt> - -<dt>13.5 <a href="basic-network-commands-telnet.html"><tt -class="COMMAND">telnet</tt></a></dt> - -<dt>13.6 <a href="basic-network-commands-ssh.html">The Secure shell</a></dt> - -<dt>13.7 <a href="basic-network-commands-email.html">email</a></dt> - -<dt>13.8 <a href="basic-network-commands-web.html">Browsers</a></dt> - -<dt>13.9 <a href="basic-network-commands-ftp.html">FTP Clients</a></dt> - -<dt>13.10 <a href="basic-network-commands-talk.html">Talking to Other People</a></dt> -</dl> -</div> - -<p>A network consists of several computers connected together. The network can be as -simple as a few computers connected in your home or office, or as complicated as a large -university network or even the entire Internet. When your computer is part of a network, -you have access to those systems either directly or through services like mail and the -web.</p> - -<p>There are a variety of networking programs that you can use. Some are handy for -performing diagnostics to see if everything is working properly. Others (like mail -readers and web browsers) are useful for getting your work done and staying in contact -with other people.</p> - -<div class="SECT1"> -<h1 class="SECT1"><a id="BASIC-NETWORK-COMMANDS-PING" -name="BASIC-NETWORK-COMMANDS-PING">13.1 <tt class="COMMAND">ping</tt></a></h1> - -<p><tt class="COMMAND">ping</tt>(8) sends an ICMP <var class="LITERAL">ECHO_REQUEST</var> -packet to the specified host. If the host responds, you get an ICMP packet back. Sound -strange? Well, you can “ping” an IP address to see if a machine is alive. If -there is no response, you know something is wrong. Here is an example conversation -between two Linux users:</p> - -<a id="AEN4428" name="AEN4428"></a> -<blockquote class="BLOCKQUOTE"> -<p class="LITERALLAYOUT"><span class="emphasis"><i class="EMPHASIS">User -A</i></span>: Loki's down again.<br /> -<span class="emphasis"><i class="EMPHASIS">User -B</i></span>: Are you sure?<br /> -<span class="emphasis"><i class="EMPHASIS">User -A</i></span>: Yeah, I tried pinging it, but there's no response.</p> -</blockquote> - -<p>It's instances like these that make <tt class="COMMAND">ping</tt> a very useful -day-to-day command. It provides a very quick way to see if a machine is up and connected -to the network. The basic syntax is:</p> - -<table border="0" bgcolor="#E0E0E0" width="100%"> -<tr> -<td> -<pre class="SCREEN"> -<samp class="PROMPT">%</samp> <kbd class="USERINPUT">ping www.slackware.com</kbd> -</pre> -</td> -</tr> -</table> - -<p>There are, of course, several options that can be specified. Check the <tt -class="COMMAND">ping</tt>(1) man page for more information.</p> -</div> -</div> - -<div class="NAVFOOTER"> -<hr align="LEFT" width="100%" /> -<table summary="Footer navigation table" width="100%" border="0" cellpadding="0" -cellspacing="0"> -<tr> -<td width="33%" align="left" valign="top"><a href="essential-sysadmin-shutdown.html" -accesskey="P">Prev</a></td> -<td width="34%" align="center" valign="top"><a href="index.html" -accesskey="H">Home</a></td> -<td width="33%" align="right" valign="top"><a -href="basic-network-commands-traceroute.html" accesskey="N">Next</a></td> -</tr> - -<tr> -<td width="33%" align="left" valign="top">Shutting Down Properly</td> -<td width="34%" align="center" valign="top"> </td> -<td width="33%" align="right" valign="top"><tt class="COMMAND">traceroute</tt></td> -</tr> -</table> -</div> -</body> -</html> - diff --git a/slackbook/html/basic-network-commands/elm.png b/slackbook/html/basic-network-commands/elm.png Binary files differdeleted file mode 100644 index 3607bb641..000000000 --- a/slackbook/html/basic-network-commands/elm.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/links.png b/slackbook/html/basic-network-commands/links.png Binary files differdeleted file mode 100644 index f5b8275a7..000000000 --- a/slackbook/html/basic-network-commands/links.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/lynx.png b/slackbook/html/basic-network-commands/lynx.png Binary files differdeleted file mode 100644 index 52d0a0c3a..000000000 --- a/slackbook/html/basic-network-commands/lynx.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/mutt.png b/slackbook/html/basic-network-commands/mutt.png Binary files differdeleted file mode 100644 index d67675ab0..000000000 --- a/slackbook/html/basic-network-commands/mutt.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/pine.png b/slackbook/html/basic-network-commands/pine.png Binary files differdeleted file mode 100644 index 3257d14e8..000000000 --- a/slackbook/html/basic-network-commands/pine.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/talk.png b/slackbook/html/basic-network-commands/talk.png Binary files differdeleted file mode 100644 index 408ab1184..000000000 --- a/slackbook/html/basic-network-commands/talk.png +++ /dev/null diff --git a/slackbook/html/basic-network-commands/ytalk.png b/slackbook/html/basic-network-commands/ytalk.png Binary files differdeleted file mode 100644 index f5f2f9c77..000000000 --- a/slackbook/html/basic-network-commands/ytalk.png +++ /dev/null |