当前位置:首页 > 服务器系统 > Centos > 正文内容

CentOS查找文件内容命令

一二三6年前 (2020-11-26)Centos834

grep -rn "内容" /目录

扫描二维码至手机访问

扫描二维码推送至手机访问。

版权声明:本文由一二三博客发布,如需转载请注明出处。

分享给朋友:

相关文章

Centos7 安装nginx服务

1、安装前准备:yum install yum-utils2、配置nginx源vim /etc/yum.repos.d/nginx.repo[nginx-stable] name=nginx&nbs...

Centos7 防火墙(firewall)常用操作

防火墙操作查看防火墙状态启动: systemctl start firewalld查看状态: systemctl status firewalld 停止:  systemctl s...

Centos7 mariadb 10.5主主复制

1.主数据库(1)vim /etc/my.cnfport=3306server-id=129log-bin=mysql-binauto_increment_increment=2auto_increm...

Centos7 MariaDB Galera cluster初始化和启动报错两例

问题一:160613  0:43:36 [Note] WSREP: Read nil XID from storage engines, skipping position init1606...

Nginx TCP协议 多域名配置 80单独配置

1、第一步双台机器分别安装nginx2、如IP分别vim /etc/nginx/conf.d/default.conf 修改端口 去掉80域名解析IP:10.10.1.100 中转IP:9....

Centos7 使用scp命令进行数据迁移

复制文件(本地>>远程):scp -P 33699 /etc/nginx/conf.d/default.conf root@10.88.1.23:/...