shell 显示当前用户名称

code

macname@localhost ~ % logname
macname
macname@localhost ~ % 

 

 

 

 

 

 

 

 

posted @ 2020-11-25 20:53  anobscureretreat  阅读(401)  评论(0编辑  收藏  举报