Linux logname命令

更新时间: 2019-10-16 12:40

Linux logname命令用于显示用户名称。

执行logname指令,它会显示目前用户的名称。

语法

logname [--help][--version]

参数

  • --help  在线帮助。
  • --vesion  显示版本信息。

实例

显示登录账号的信息:

# logname 
root
On LISP

On LISP

Paul Graham / Prentice Hall / 09 September, 1993 / $52.00

On Lisp is a comprehensive study of advanced Lisp techniques, with bottom-up programming as the unifying theme. It gives the first complete description of macros and macro applications. The book also ......一起来看看 《On LISP》 这本书的介绍吧!

HTML 压缩/解压工具

HTML 压缩/解压工具

在线压缩/解压 HTML 代码

MD5 加密

MD5 加密

MD5 加密工具

RGB HSV 转换

RGB HSV 转换

RGB HSV 互转工具