1 .\" You may copy, distribute and modify under the terms of the LDP General
2 .\" Public License as specified in the LICENSE file that comes with the
3 .\" gnumaniak distribution
5 .\" The author kindly requests that no comments regarding the "better"
6 .\" suitability or up-to-date notices of any info documentation alternative
7 .\" is added without contacting him first.
9 .\" (C) 1999-2002 Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
11 .\" GNU logname man page
12 .\" man pages are NOT obsolete!
13 .\" <ragnar@ragnar-hojland.com>
15 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
16 .\" Translated Sun 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
17 .\" Updated & Modified Sat Jan 24 14:41:26 JST 2004
18 .\" by Yuichi SATO <ysato444@yahoo.co.jp>
20 .TH logname 1 "18 June 2002" "GNU Shell Utilities 2.1"
22 logname \- ユーザーのログイン名を表示する
26 .B logname [\-\-help] [\-\-version]
29 は呼び出したユーザーの名前を /var/run/utmp ファイルから探し出して表示し、
30 ステータス 0 で終了する。/var/run/utmp に呼び出しプロセスのエントリがなければ、
32 はエラーメッセージを表示してステータス 1 で終了する。
36 標準出力に使用方法のメッセージを出力して正常終了する。
39 標準出力にバージョン情報を出力して正常終了する。
41 プログラムのバグについては bug-sh-utils@gnu.org に報告してください。
42 ページの更新は Ragnar Hojland Espinosa
43 <ragnar@ragnar-hojland.com> が行っています。