摘要:
华为交换机配置备份 yum install expect vim backup-config.sh #!/bin/bash backdir=/var/lib/tftpboot DATE=$(date +%Y%m%d) backup="$backdir/$DATE" if [ ! -d $backup 阅读全文
摘要:
#!/bin/bash mkdir /var/lib/tftpboot/h3c_`date +"%Y%m%d"` path=/var/lib/tftpboot/h3c_`date +"%Y%m%d"` while read line;do fping $line > /dev/null if [ $ 阅读全文