02.03.2013 12:27, Dmitry A. Zhiglov пишет:
cat /etc/hostlist.conf | grep host | awk '{print $2}'
grep host /etc/hostlist.conf | awk '{system(ping -c2 $2)}'
--
Best regards,
Mikhail
-
WWW: http://www.antmix.pp.ru/
XMPP: ant...@stopicq.ru
signature.asc
Description: OpenPGP digital signature
On Sat, Mar 02, 2013 at 12:33:52PM +0400, Mikhail A Antonov wrote:
02.03.2013 12:27, Dmitry A. Zhiglov пишет:
cat /etc/hostlist.conf | grep host | awk '{print $2}'
grep host /etc/hostlist.conf | awk '{system(ping -c2 $2)}'
или
grep host /etc/hostlist.conf | awk '{print $2}' |xargs -L1 ping
2013/3/2 Mikhail A Antonov b...@solarnet.ru:
02.03.2013 12:27, Dmitry A. Zhiglov пишет:
cat /etc/hostlist.conf | grep host | awk '{print $2}'
grep host /etc/hostlist.conf | awk '{system(ping -c2 $2)}'
Спасибо Михаил!
--
To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org
with a
3 matches
Mail list logo