xshell切换到root用户,具体命令如下:

sudo su

有的需要密码,如图所示:

xshell中怎么切换到root用户_linux