摘要: echo -e '\n'for example:here we will save configure file of H3C Switch#!/bin/baships_file="/root/Desktop/ips.txt"while read ip ; do( echo 'youname'sleep 1echo 'youpassword'sleep 1echo 'system-view'sleep 1echo 'ntp-service unicast-server 192.168.207.88 阅读全文