运行登录 bash 时使用 --rcfile 选项

运行登录 bash 时使用 --rcfile 选项

我想知道是否可以运行登录 bash,但使用自定义初始化文件而不是 ~/bashrc

bash --rcfile "myfile" -l

答案1

看起来这是不可能的,请参阅http://manpages.ubuntu.com/manpages/bionic/man1/chsh.1.html

相关内容