http://jingyan.baidu.com/article/22fe7ced17c1543002617f9c.html
http://blog.csdn.net/ricks_wu/article/details/9031357


全局alias的定义就放在~/.bashrc里面

 

针对所有用户

echo "alias grep='grep --color'" >>/etc/bashrc

 

针对单个用户

echo "alias grep='grep --color'" >>~/.bashrc

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2021-04-06
  • 2022-12-23
  • 2022-01-20
猜你喜欢
  • 2021-06-08
  • 2022-12-23
  • 2021-11-18
  • 2022-02-18
  • 2021-07-11
  • 2022-02-19
相关资源
相似解决方案