logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Linux 配置环境变量及/etc/profile和/root/.bash_profile区别

/etc/profile 是全局变量用于所有用户~/.bash_profile 是当前用户变量编辑vim ~/.bash_profile生效 source ~/.bash_profile例如配置python 环境变量下载安装完python后,可以建立软链接,将Python路径链接到 /usr/bin中,在 vim ~/.bash_profile 文件中path后边加上 /usr/bin就可以读到p

#linux#bash#运维
到底了