摘要: 查询用户信息 id 用户名 查看登陆用户 who am i 切换用户 su 用户名 高级向低级别切换时不用输入密码,普通用户切换root时需输入密码 在命令行输入logout 或exit 注销 创建用户 默认会在/home/ 下创建同名用户的家目录 useradd tom 创建用户, 并指定用户家目 阅读全文
posted @ 2021-07-08 11:14 vip网管 阅读(640) 评论(0) 推荐(0)
摘要: 所有的命令只针对root shutdown -h now 立刻马上关机 halt 关机 (必须有root权限) shutdown -h 1 一分钟后关机 (必须有root权限) shutdown -r now 立刻马上重启 reboot 重启 在操作重启或关机之前一定要用sync命令 sync 把内 阅读全文
posted @ 2021-07-08 10:34 vip网管 阅读(1032) 评论(0) 推荐(0)