컴퓨터 소프트웨어에서, logname (Login Name을 나타냄)은 현재 터미널에 로그인되어 있는 사용자의 이름을 인쇄하는 유닉스와 유닉스-계열 운영 시스템의 프로그램입니다. 그것은 보통 시스템-상태 환경의 LOGNAME 변수에 해당합니다 (그러나 이 변수는 수정되었을 수 있습니다).
History
logname 시스템 호출과 명령은 유닉스 시스템 III에서 처음 등장했습니다. GNU coreutils에 번들된 logname 버전의 작성자는 알려져 있지 않습니다.
Usage
$ logname --help
Usage: logname [OPTION]
Print the name of the current user.
--help display this help and exit
--version output version information and exit
External links
- logname: return the user's login name – Commands & Utilities Reference, The Single UNIX Specification, Issue 7 from The Open Group