94

Linux学习笔记第三周第三次课(2月7日)-12049818-51CTO博客

 6 years ago
source link: http://blog.51cto.com/12059818/2071805
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
3.7 su命令root用户切换到普通用户命令,su;完全彻底切换 - ,连环境变量,家目录也切换,命令为#su - aming;查看当前登陆用户,命令为#whoami;查看当前目录,命令为#pwd;查看用户UID,GID,组,家目录,用户shell目录,命令为#id;切换用户,环境变量和家目录没切换,命令为#su aming;退出切换的用户,命令为#exit;当前用户下,不切换到aming用户,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK