摘要: 四剑客第五关 1 查询file.txt 以abc结尾的行 grep 'abc$' file.txt ^ 开头 $ 结尾 [root@master ~]# cat file.txt sdhfks sdfsdg sdkjfhsdjh sdjfsdgf abcklsdfjksegfeabc ekhkeer 阅读全文
posted @ 2024-03-14 18:25 三思博客 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 四剑客第四关 1、说一些你比较常用linux指令 ls ls -l lsblk cat echo tty hostname hostnamectl -set-name ip a ping ifconfig netstat -tulpn ss -tulpn ps aux kill kill-9 lso 阅读全文
posted @ 2024-03-14 18:25 三思博客 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 四剑客第三关 1 find使用方法: 根据文件大小查找 命令: 根据文件权限查找数据 : find /etc/passwd -type f -size +10M find /etc/passwd -perm 755 [root@master ~]# find /etc/passwd -type f 阅读全文
posted @ 2024-03-14 18:25 三思博客 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 防火墙--学习笔记 防火墙分类: 硬件:华为 思科 深信服 软件: Windows: 360 电脑管家 linux :firewalld iptables 防火墙的作用: 隔离 严格过滤出站 入站 firewalld 设计流程 定义不同区域 每个区域制定自己配置通过的或者拦截--数据包 firewa 阅读全文
posted @ 2024-03-14 18:24 三思博客 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 定时任务 学习笔记 定时任务 自动完成操作命令 夜里自动备份数据 cp /data /backup 自动清理磁盘 软件 :cronie 查看软件安装目录 rpm -qa cronie rpm -ql cronie 关闭 systemctl stop cronie 启动 systemctl start 阅读全文
posted @ 2024-03-14 18:24 三思博客 阅读(4) 评论(0) 推荐(0) 编辑