linux学习

image
head 命令使用 看前两行命令
image
看第一行
image
tail -f 实时查
image
看日志
image
secure 安全日志
image
seq 生成数
image
nr 倒序 n 正
image
wc -l 统计行号
||ヽ( ̄▽ ̄)ノミ|Ю
image
egrep 过滤1
image
看2 后面三个类容 A:after egrep 搜索报错里面的关键字
正则表达式
^ # 锚定⾏的开始 如:'^grep'匹配所有以grep开头的⾏。
$ # 锚定⾏的结束 如:'grep$' 匹配所有以grep结尾的⾏。
image
egrep 过滤以root 开头的
image
过滤以bash 结尾的
image
egrep 用法 查1-10
image
查 1-9 \b 精准匹配 1-9
image
history 找记录,作业 history -c 清空所有
imageimage
image
看信息
image
看网卡的ip地址
image
top 查看
load average 负载:代表整个系统的繁忙程度 按1 看cpu 有几个
image
image
stat 看文件属性
image
du 查文件大小 -sh 以人力可读方式
image
image
df -h 看磁盘信息 df -i
![image](https://img2024.cnblogs.com/blog/3674534/202507/3674534-20250713230019667-232586809.pn

最开始的: 基础 linux

安装配好系统后,配置阿里云镜像源
选 centos 访问效率高 epel源叫企业源
image
更新阿里云的源
image
查看阿里云
imageimage
成功 下载软件访问效率高
epel 企业源 nigix 什么的都在里面 。。。我的系统不知道为什么只能用curl -o
image
源优化好要打快照!!!!!!!
nginx服务
image
查看配置
image
image
看终端
ps axu 查看所有进程
image
image
安装netstat
image
echo 双引号可以支持转义字符加-e 单引号所见所得 区别
image
echo $PATH
批量删除image
、转移
变量image
image
image
没有下·wget 一堆都要自己下 服了
image
image
vim 下载
image
替换
image

image
桥接自动联网
image
tar压缩
image
由于ip被抢,自己再重新搞过玩
image
image
配置csdn上看
image
image
成功连接!
image
阿李云配置长裤 yum
image
image
nginx 下载
image
软连接
image
NGINX软连接
image
硬链接和软连接区别
image
image
案例
image
image
日志管理
image
日志文件
image
journalctimage
l 看日志
image
G 看最后
image
image
看指定日志
image

posted on 2025-07-12 10:56  爱尔奎特‘殷’  阅读(6)  评论(0)    收藏  举报