好词典

su

UK /suː/US /suː/

词源

源自Unix系统命令,是'substitute user'或'switch user'的缩写。最早出现在1970年代的Unix系统中。

noun

❶ 在Unix和类Unix操作系统中,su是一个命令,用于切换用户身份,通常用于临时获得超级用户权限。

“Type 'su' to switch to the root user.”

(输入'su'命令切换到root用户。)

“You need to know the password to use 'su'.”

(使用'su'命令需要知道密码。)

同义词:switch user, superuser, substitute user

常见短语

su - — 带横线的su命令,表示完全切换到目标用户的环境,包括工作目录和环境变量。

“Use 'su - username' to fully switch to another user's environment.”

(使用'su - 用户名'完全切换到另一个用户的环境。)

su root — 明确指定切换到root用户的命令形式,功能与单独使用su相同。

“The commands 'su' and 'su root' have the same effect.”

('su'和'su root'命令效果相同。)