设置ip信息的shell/ target=_blank class=infotextkey>shell脚本,感兴趣的朋友可以研究下。
#!/bin/bash
#
TMPFILE=`mktemp /tmp/eth.XXXXXXXX`
read -p "Interface: " ETHCARD
ALLECARD=`ifconfig -a | linuxjishu/13830.html target=_blank class=infotextkey>awk '/^[^[:space:]l]/{print $1}'`
until echo $ALLECARD | grep "$ETHCARD" &> /dev/null; do
echo -e "