摘要:
1、命令历史 history,命令记录保存在 .bash_history 2、查看系统内置环境变量能保存多少条历史命令 [root@localhost ~]# echo $HISTSIZE 2000[root@localhost ~]# 3、history -c 清空内存中的历史命令,但不会删除.b 阅读全文
摘要:
一、yum更换国内源 1、有时由于Centos7自带的源是国外的网址,下载可能比较慢,这时可以将其替换为国内的源网址。 删除自带的Cenos-Base.repo,下载国内的CentOS7-Base-163.repo wget http://mirrors.163.com/.help/CentOS7- 阅读全文