不存在SUDO_HOME变量,可以通过$(eval echo ~$SUDO_USER)获取
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
sudo用户创建home目录 使用sudo创建文件
Linux Sudo的使用 Sudo是允许系统管理员让普通用户执行一些或者全部的root命令的一个工具,如halt,reboot,su等等。这样不仅减少了root用户的登陆和管理时间,同
sudo用户创建home目录 配置文件 系统管理员 重定向 -
sudo软件 sudo!!
Linux学习笔记之——su、sudo命令使用及区别 摘要:主要对su、sudo命令的功能进行介绍和两者之间的区别。以及使用方式 一:两者之间的区别 su用于用户之间的切换。 sudo
sudo软件 shell 操作系统 普通用户 root用户 -
mpirun如何指定GPU
1.mpd & 启动本机的mpi守护进程2. mpdboot: 启动集群mpd守护进程,在运行MPI程序前必须开启每个节点上的mpd守护进程。 常用的参数: -n nodenum,需要启动的节点数量 &nbs
mpirun如何指定GPU fortran 浏览器 sun compilation