ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahz_5.4.0.1/hostname.htm

56 lines
1.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8">
<title>hostname - Display the name of the current host
system</title>
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</HEAD>
<body bgcolor="#FFFFFF">
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2>hostname - Display the name of the current host system</h2>
<strong>Synopsis</strong>
<p>
<strong>hostname [-is]</strong>
</p>
<p><strong>Description</strong></p>
<p>The <strong>hostname</strong> utility writes the name of the
current host system to standard output.</p>
<p><strong>Options</strong></p>
<dl>
<dt><strong>-i</strong></dt>
<dd>Also display the IP address of the host system.</dd>
<dt><strong>-s</strong></dt>
<dd>Display the short name of the host system without the domain information.</dd>
</dl>
<p><strong>Exit Status</strong></p>
<ul>
<li>0 when successful</li>
<li>&gt;0 when an error occurs</li>
</ul>
<!-- end ibmbody========================================================= -->
</body>
</html>