Linux logname命令

Linux 教程 · 2019-02-16 15:14:25

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

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

语法

logname [--help][--version]

参数

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

实例

显示登录账号的信息:

# logname 
root

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

Elements of Programming

Elements of Programming

Alexander A. Stepanov、Paul McJones / Addison-Wesley Professional / 2009-6-19 / USD 39.99

Elements of Programming provides a different understanding of programming than is presented elsewhere. Its major premise is that practical programming, like other areas of science and engineering, mus......一起来看看 《Elements of Programming》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

在线进制转换器
在线进制转换器

各进制数互转换器

MD5 加密
MD5 加密

MD5 加密工具