linux 环境的设置

来源:互联网 发布:普通话水平测试软件 编辑:程序博客网 时间:2024/06/05 20:05


再设置java 或者其他环境变量的时候,网上建议大多设置profile但是查看centos6.5的profile 文件我发现专家是有建议的就是这个 原文


cat profile
# /etc/profile


# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
# It's NOT a good idea to change this file unless you know what you
# are doing. It's much better to create a custom.sh shell script in
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.


记下来 避免以后再忘记

0 0
原创粉丝点击