摘要: http://www.cplusplus.com/reference/cstdio/scanf/?kw=scanf http://www.cplusplus.com/reference/cstdio/sscanf/ http://www.cplusplus.com/reference/cstdio/ 阅读全文
posted @ 2020-08-07 23:44 fndefbwefsowpvqfx 阅读(105) 评论(0) 推荐(0) 编辑
摘要: http://www.cplusplus.com/reference/regex/ECMAScript/ https://docs.microsoft.com/en-us/cpp/standard-library/regular-expressions-cpp https://developer.m 阅读全文
posted @ 2020-08-07 23:28 fndefbwefsowpvqfx 阅读(89) 评论(0) 推荐(0) 编辑
摘要: http://www.gnu.org/software/ http://www.gnu.org/software/coreutils/manual/coreutils.html https://github.com/renchunxiao/awk-sed https://github.com/cod 阅读全文
posted @ 2020-08-07 23:25 fndefbwefsowpvqfx 阅读(169) 评论(0) 推荐(0) 编辑
摘要: . . | | | AWK Cheat Sheet | | | ' ' | Peteris Krumins (peter@catonmat.net), 2007.08.22 | | http://www.catonmat.net - good coders code, great reuse | ' 阅读全文
posted @ 2020-08-07 23:16 fndefbwefsowpvqfx 阅读(113) 评论(0) 推荐(0) 编辑
摘要: http://www.gnu.org/software/gawk/manual/gawk.html HANDY ONE-LINERS FOR AWK 22 July 2003 compiled by Eric Pement <pemente@northpark.edu> version 0.22 L 阅读全文
posted @ 2020-08-07 23:13 fndefbwefsowpvqfx 阅读(143) 评论(0) 推荐(0) 编辑
摘要: http://www.gnu.org/software/sed/manual/sed.html USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) Dec. 29, 2005 Compiled by Eric Pement - pemente[a 阅读全文
posted @ 2020-08-07 23:11 fndefbwefsowpvqfx 阅读(129) 评论(0) 推荐(0) 编辑
摘要: fping -a 192.168.56.1 192.168.56.255 -g 2>/dev/null #!/bin/bash for ip in 192.168.56.{1..255} ; do ( ping $ip -c 2 &> /dev/null ; if [ $? -eq 0 ] ; th 阅读全文
posted @ 2020-08-07 17:37 fndefbwefsowpvqfx 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 查看网关 gate way route -n 查看DNS服务器 sudo cat /etc/resolv.conf 列出所有网卡 ifconfig | cat | grep -E "^[[:graph:]]" | sed 's/:.*//g' ls /sys/class/net 启动python h 阅读全文
posted @ 2020-08-07 16:44 fndefbwefsowpvqfx 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 监听 8001端口 nc -l -t -p 8001 在另一台机器连接8001 nc 192.168.56.101 8001 阅读全文
posted @ 2020-08-07 15:09 fndefbwefsowpvqfx 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 修改uuidVBoxManage internalcommands sethduuid "/home/user/VirtualBox VMs/drupal/drupal.vhd" 查看信息vboxmanage list vms vboxmanage showhdinfo FILE vboxmanag 阅读全文
posted @ 2020-08-07 11:53 fndefbwefsowpvqfx 阅读(108) 评论(0) 推荐(0) 编辑
摘要: cat <<EOF > /etc/apt/sources.list.d/kubernetes.list deb http://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main EOF curl -s https://mirrors.a 阅读全文
posted @ 2020-08-07 10:42 fndefbwefsowpvqfx 阅读(103) 评论(0) 推荐(0) 编辑
摘要: find accepts multiple -exec portions to the command. For example: find . -name "*.txt" -exec echo {} \; -exec grep banana {} \; Note that in this case 阅读全文
posted @ 2020-08-07 09:51 fndefbwefsowpvqfx 阅读(88) 评论(0) 推荐(0) 编辑