linux

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值