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