summaryrefslogblamecommitdiffstats
path: root/slackbook/html/basic-network-commands-finger.html
blob: 08eca57c62f77843cd01fccae28c76bd1ee4c221 (plain) (tree)



































































































































                                                                                         
<!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 &#8220;dot plan&#8221; and &#8220;dot project&#8221;. 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>