- 查看文件夹大小 du -sh *
- 查看cpu型号 cat /proc/cpuinfo | grep name | cut -f2 -d: |uniq -c
- 查看cpu个数 grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l
- 查案cpu核数 cat /proc/cpuinfo |grep "cores"|uniq
- 查看内存 cat /proc/meminfo | grep MemTotal
- 查看OS版本 cat /etc/centos-release
- 查看硬盘 df -Th
- 截取文件头 head -n10000 file1 > file2
- 查找目录 find -type d -name 'test'
- 安装软件 git wget http://opensource.wandisco.com/centos/6/git/x86_64/wandisco-git-release-6-1.noarch.rpm && rpm -ivh wandisco-git-release-6-1.noarch.rpm
- 查询安装软件的依赖包 repoquery --whatprovides git
- 安装第三方软件到/usr/local/** https://www.cnblogs.com/xulei1992/p/11833083.html
- rpm安装 rpm –ivh rpm软件包名
- 安装启动oracle https://www.cnblogs.com/mthoutai/p/6973131.html
- SCL software collections https://caosiyang.github.io/posts/2020/02/06/scl/