Linux就该这么学

img_c95854072dc2a5973ae4ddcf4722101c.png
image.png

elinks


img_c0af0b2271bc13b0f128c34e9d17075a.png
image.png

uname -a
uptime
free -m
who
last
cat ~/.bash_history

img_902410d431509ff3b02fe9a486458066.png
image.png

img_99924675e5ccb322e70b4851d60dd375.png
image.png

img_49ed6b90a50c98da9ac2e2412083ecb6.png
image.png

img_b4a7fc2d321fe54b1672943bea9ddaa5.png
image.png

img_55377c747c2352ae54073a35cc9d938e.png
image.png

img_4971e54a9dbfab38bd0e7dbe19fc6c47.png
image.png

img_1b3090e7782a81e36503ca0765c7e6ca.png
image.png

mkdir -m


img_cba42026b1de81d4e7c6a869d2afed25.png
image.png

img_7e8c439295447fc91ad22bf2585ec985.png
image.png

find 参数


img_7173b8045bc51b0f9a38846f966b65cd.png
image.png

关闭某个端口的进程
lsof -i:80|grep -v "PID"|awk '{print "kill -9",2}'|sh lsof -i:80|grep -v "PID"|awk '{print "kill -9",2}'|sh
find -type f -size 0 -exec rm -rf {} ;
cat access_log|awk '{print $1}'|sort|uniq -c|sort -n -r|head -5

echo ""|passwd --stdin root


img_bea6b3175de68aad87d4d52cc653a1bf.png
image.png

2>$1


img_eb1aa958b52cfd8e0bbc75bbfcd5e995.png

VIM命令


img_350a8c6f760637b826d08ad117134a0f.png
image.png

img_acc76fded2f730bde8e8964c6438e9f7.png
image.png

img_f6f47b05890c9f3fb57e2488024e6cca.png
image.png
img_ed86ecd341ce5f852e5723db98ef0dca.png
image.png

img_b064dca0894795aa2a683407a4508358.png
image.png

软硬


img_92f1cb4236929461ddb927990bc3f296.png
image.png

链路规则


img_acb711960cbfb55f976dac909b54d60e.png

IPTABLE规则


img_07d9e8ac29a3398a6937c8a8edbf5dcf.png
image.png

端口转发:
firewalld-cmd --permanent --zone=public --add-forward -port=port=888:proto=tcp:toport=22:toaddr=192.168.2.10
iptable做流量均衡,负载均衡


img_16bb5bd010c2bd3fb8a23686e36a5ce4.png
image.png

限制某些网段才能访问hosts.allow


img_7eedf24de0037f75f57ed79ed56b61b5.png
image.png

运行级别


img_131d4b0ae204e7770384e8f9da1f9484.png
image.png

修改默认的运行级别


img_3adb247918c4fc945669340c03ae9e6b.png
image.png

查询进程PID


img_9d9c77a4c4a177acd6843a6ac800a787.png
image.png

tracepath 查看路由走向


img_1b4a330505d0e1cbdeb22ff2d6a31b27.png
image.png

VSftp模式:匿名、本地用户、虚拟用户
PXE+Kickstart 部署无人值守安装

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值