标签: bashrc

Linux bashrc和profile的用途和区别

Linux bashrc和profile的用途和区别

bashrc和profile都是Shell的启动设置文件(其实这两个文件也是Shell脚本),可以为当前的Shell初始化环境变量等,它们类似Microsoft DOS/Windows下的autoexec.bat文件。