ruby

领取游戏新手卡来http://5433.com

导航

2012年10月18日 #

理解 bashrc 和 profile

摘要: 在一般的 linux 或者 unix 系统中, 都可以通过编辑 bashrc 和 profile 来设置用户的工作环境, 很多文章对于 profile 和 bashrc 也都有使用, 但究竟每个文件都有什么作用和该如何使用呢?首先我们来看系统中的这些文件, 一般的系统可能会有12345/etc/profile/etc/bashrc~/.bashrc~/.profile而如果系统是 ubuntu 或者 debian 的话, 就不会有/etc/bashrc而会有/etc/bash.bashrc文件.以上这些就是常用 profile 和 bashrc 文件了. 要理解这些文件之前还需要了解 Shel 阅读全文

posted @ 2012-10-18 18:06 最初的模样 阅读(660) 评论(0) 推荐(0) 编辑