摘要: cisco 密码恢复,cisco 密码恢复 阅读全文
posted @ 2021-04-01 12:24 zhg1016 阅读(110) 评论(0) 推荐(0)
摘要: 2021-03-24 OSPF状态 定义 Attempt 此状态只对非广播区域(NBMA)1网络中手动配置的邻居有效。在attempt状态中,路由器在每个轮询间隔期间向邻居发送单播hello数据包,在dead间隔期间不会接收到邻居的hello数据包。 INIT 此状态指定路由器从邻居接收一个hell 阅读全文
posted @ 2021-03-24 22:23 zhg1016 阅读(728) 评论(0) 推荐(0)
摘要: diff patch -p1 diff -Naur directory1 directory2 阅读全文
posted @ 2019-03-19 22:51 zhg1016 阅读(189) 评论(0) 推荐(0)
摘要: cat /dev/cdrom > image.iso dd if=/dev/cdrom of=image.iso mkisofs -V "Label" -o image.iso source_dir/ isohybrid isohybrid image.iso dd if=image.iso of= 阅读全文
posted @ 2019-03-19 22:44 zhg1016 阅读(443) 评论(0) 推荐(0)
摘要: #!/bin/bash #file name : filestat.sh if [ $# -ne 1 ]; then echo "Usage is $0 basepath"; exit fi path=$1 declare -A statarray; while read line; do ftype=`file -b "$line" | cut -d, -f1` ... 阅读全文
posted @ 2019-03-17 11:27 zhg1016 阅读(252) 评论(0) 推荐(0)
摘要: Panel is deprecated and will be removed in a future version.The recommended way to represent these types of 3-dimensional data are with a MultiIndex o 阅读全文
posted @ 2019-03-15 22:01 zhg1016 阅读(16122) 评论(0) 推荐(0)
摘要: #!/bin/bash #查找并删除重复文件,每个文件只保留1份 ls -LS --time-style=long-iso | awk 'BEGIN { getline; getline; name1=$8; size=$5 } { name2=$8 if(size==$5) { "md5sum " 阅读全文
posted @ 2019-03-15 12:25 zhg1016 阅读(306) 评论(0) 推荐(0)
摘要: $ dd if=/dev/zero of=junk.data bs=1M count=1 参数: if (input file) of (output file) bs(block size) count(需要复制的块数) bs 单位(c w B K M G) /dev/zero 特殊的字符设备,返 阅读全文
posted @ 2019-03-15 11:58 zhg1016 阅读(1310) 评论(0) 推荐(0)
摘要: -exec 创建子shell $ find . -exec sh -c 'echo -n {} | tr -d "[:alnum:]_.\-" | \ tr "/" " "; basename {}' \; 文件汇总信息 for d in `find . -type d`; do echo `fin 阅读全文
posted @ 2019-03-15 11:45 zhg1016 阅读(568) 评论(0) 推荐(0)
摘要: rename #find path -type f -name "*.mp3" -exec mv { } target_dir \; #mp3 file mv dir_file #digui #find path -type f -exec rename 's/ /_/g' {} \; # 检查给的 阅读全文
posted @ 2019-03-14 22:56 zhg1016 阅读(300) 评论(0) 推荐(0)