• CentOS7利用yum安装node.js
curl -sL https://rpm.nodesource.com/setup_16.x  | bash -
yum install -y nodejs
node -v
npm install -g cnpm --registry=https://registry.npmmirror.com
  • CentOS7 安装pip3
yum install epel-release
yum install https://centos7.iuscommunity.org/ius-release.rpm
  • 多个文件内容搜索特定关键词 grep -ln “keyword” 05-01-00hour.log …(可以携带多个文件名)
    打印存在关键词的文件名
    05-19-19hour.log
    05-20-00hour.log