质量为本、客户为根、勇于拼搏、务实创新
linux下bashprofile生效怎样实现
要使bashprofile在Linux下生效,可以依照以下步骤操作:
cd
vi .bashrc
source ~/.bashprofile
source ~/.bashrc
请注意,.bashrc文件是每次打开终端时都会加载的,因此将bashprofile文件中的设置放在.bashrc文件中,可以确保每次打开终端时都会生效。
TOP