![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
杂志
weixin_44796690
这个作者很懒,什么都没留下…
展开
-
ssh 自动链接 shell 练习脚本
!/bin/bash ip=10.0.112.144 pass=centos if test ! -e /root/.ssh/id_rsa then ssh-keygen -t rsa -f /root/.ssh/id_rsa -P “” fi /bin/expect <<EOF spawn ssh-copy-id -i root@KaTeX parse error: Can't u...原创 2019-04-09 20:34:14 · 215 阅读 · 0 评论 -
Python猜数字游戏脚本
Python猜数字游戏脚本 while True: k=0 while k < 3: inp=input("\033[31m 请输入数字: \033[0m") if inp.isdigit(): ip = int(inp) if ip == 18: print("\033[31m 答对了 \033[0m") break elif ip > ...原创 2019-04-13 09:38:39 · 198 阅读 · 0 评论 -
linux命令缩写
项目名 Linux – LINUs’ uniX (开个玩笑不是这样的,别当真) GNU – Gnu is Not Unix 目录名 /boot:顾名思义 /root :同上 /run:同上 /home:同上 /etc:ETCetera /bin:BINaries /dev:DEVices /lib:LIBraries /mnt:MouNT /proc:PROCesses /tmp:TeMPorar...转载 2019-04-14 11:28:21 · 245 阅读 · 0 评论 -
检测是否有人在抢自己的ip
检查别人抢ip 方法 mac一个就是没人抢 [root@www html]# arping -I eth0 10.0.112.47 ARPING 10.0.112.47 from 10.0.112.134 eth0 Unicast reply from 10.0.112.47 [00:0C:29:21:F6:3C] 1.560ms Unicast reply from 10.0.112.47 ...原创 2019-04-17 21:07:18 · 274 阅读 · 0 评论