linux su su-的区别 su只是切换用户。 su - 切换用户并切换shell环境。 su another pwd后为/home/current su - another pwd后为/home/another