bash script

Dec 17, 2010 11:57

Сделал для себя открытие:

ifconfig=`/sbin/ifconfig`
eth0=${ifconfig#*eth0 *inet addr:}
eth0=${eth0%% *}

linux, scripting, commands

Previous post Next post
Up