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

查看所有标签

Scalable Internet Architectures

Scalable Internet Architectures

Theo Schlossnagle / Sams Publishing / 2006-7-31 / USD 49.99

As a developer, you are aware of the increasing concern amongst developers and site architects that websites be able to handle the vast number of visitors that flood the Internet on a daily basis. Sc......一起来看看 《Scalable Internet Architectures》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具