Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script ??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
d0minus
Tux's lil' helper
Tux's lil' helper


Joined: 25 Apr 2005
Posts: 90
Location: Ukraine

PostPosted: Mon Dec 12, 2005 1:59 pm    Post subject: Script ?? Reply with quote

оНФЮКЯРН ОНДЯЙЮФШРЕ ЙЮЙ ГДЕКЮРЭ ЮМЮКНЦ ЕРНЦН ЯЙПХОРЮ МН РНКЭЙН Б Windows 2000
/sbin/ifconfig eth0|grep inet|awk {'print $2'}|cut -d"." -f4
CОЮЯХАН
Back to top
View user's profile Send private message
GreenDragon
Guru
Guru


Joined: 31 Jul 2003
Posts: 319

PostPosted: Tue Dec 13, 2005 6:30 am    Post subject: Re: Script ?? Reply with quote

d0minus wrote:
оНФЮКЯРН ОНДЯЙЮФШРЕ ЙЮЙ ГДЕКЮРЭ ЮМЮКНЦ ЕРНЦН ЯЙПХОРЮ МН РНКЭЙН Б Windows 2000
/sbin/ifconfig eth0|grep inet|awk {'print $2'}|cut -d"." -f4
CОЮЯХАН

Кодировка форума koi-8.
теперь по 2000 -
вместо ifconfig использовать ipconfig, далее сложнее
вариант 1: использовать perl и написать соответствующий скрипт для отыскания последней цифры IP адреса
варивнт2: попробовать найти собранный для виндовз awk, grep :D
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Tue Dec 13, 2005 8:12 am    Post subject: Reply with quote

как насчёт WMI, WSH?
лезь на офсайт, кейворды выше :D
на forum.ru-board.com отличная тема есть
Back to top
View user's profile Send private message
Cyrill
n00b
n00b


Joined: 18 Aug 2005
Posts: 6

PostPosted: Tue Dec 13, 2005 3:10 pm    Post subject: Reply with quote

Поставить cygwin
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Wed Dec 14, 2005 8:50 am    Post subject: Reply with quote

во пошли предложения :D
кто гораздее 8O
как насчёт
Code:
perl -e "..."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum