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

49 lines
1.2 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!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>logname - Display user's login name</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>logname - Display user's login name</h2>
<strong>Synopsis</strong>
<p><strong>logname</strong></p>
<p><strong>Description</strong></p>
<p>The <strong>logname</strong> utility writes the user's login
name to standard output followed by a newline.</p>
<p>The <strong>logname</strong> utility explicitly ignores the
<strong>LOGNAME</strong> and <strong>USER</strong> environment
variables because the environment cannot be trusted.</p>
<p><strong>Exit Status</strong></p>
<ul>
<li>0 on success</li>
<li>&gt;0 if an error occurs</li>
</ul>
<p><strong>Related information</strong></p>
<ul>
<li><a href="id.htm">id - Return user identity</a></li>
</ul>
<!-- end ibmbody========================================================= -->
</body>
</html>