curl get only http_status code
curl获取状态码 curl -o /dev/null -s -w %{http_code} 127… 继续阅读 curl get only http_status code
curl获取状态码 curl -o /dev/null -s -w %{http_code} 127… 继续阅读 curl get only http_status code
nohup保留10000条 rem=`tail -n 10000 nohup.out`; echo … 继续阅读 nohup remin 1000 lines
https://tcp.ping.pe/
curl -H "Content-Type: application/json"… 继续阅读 curl post 本地json文件
#分布式sqlite docker run -p4001:4001 rqlite/rqlite
#crontab @daily /usr/bin/yum makecache fast
#统计当前 Linux 系统中可以登录计算机的账户有多少个 grep "bash$&quo… 继续阅读 list accounts of /etc/passwd
# 显示本机 Linux 系统上所有开放的端口列表 ss -nutlp | awk '{p… 继续阅读 show all open ports and usage
#将文件中所有的小写字母转换为大写字母 tr "[a‐z]" "[A‐… 继续阅读 tr replace a-z to A-Z in full txt
#MySQL 数据库连接数量 mysqladmin -u "$user" -p … 继续阅读 mysql get connect counts
# 查看有多少远程的 IP 在连接本机 # sort 可以按数字大小排序,最后使用 uniq 将多余… 继续阅读 get remote host counts of tcp
echo 'eth0 网卡发送的数据包流量 ' ifconfig eth0 | … 继续阅读 get RX/TX pack of eth0
#每隔0.1秒ping一次,一共ping100次,并以1毫秒为单位设置ping的超时时间 ping … 继续阅读 ping set interval
#!/bin/bash # 提取根分区剩余空间 以 Kb 为单位 disk_size=$(df / … 继续阅读 linux get disk and mem free kb
# 创建持久化目录 mkdir -p /opt/kubepi # 安装 sudo docker ru… 继续阅读 docker run kubepi
nginx -T
ipv6状态测试:https://test-ipv6.com ipv6速度测试:http://tes… 继续阅读 中科大 ipv6速度测试
udisksctl mount -b /dev/sdb1 udisksctl unmount -b … 继续阅读 udisksctl使用usb设备
setcap cap_net_bind_service=+eip ./nginx su user1 … 继续阅读 普通用户启动nginx 使用80端口
integer expression expected then前面空格 if [ $? -eq 0… 继续阅读 integer expression expected