[root@eric ~]# vi /etc/profile alias grep='grep --color=auto'
[root@eric ~]# source /etc/profile
[root@eric ~]# vi /etc/profile alias grep='grep --color=auto'
[root@eric ~]# source /etc/profile
转载于:https://www.cnblogs.com/fanweisheng/p/11322269.html