我对Linux完全陌生。在观看有关Ubuntu的教学视频时,我遇到了该命令passwd。当我测试时,它显示; (current) UNIX password: Enter new UNIX password: Retype new UNIX password: 为什么说UNIX密码?与UNIX有关系吗?
登录和非登录shell定义为: su - $USER # will give you a login shell bash # will give you a non-login shell 对于非登录外壳,例如在启动konsole(kde)时,不会调用/ etc / profile。/ etc / profile仅用于登录shell。 这是为什么?请解释,因为我喜欢理解这一原理。