[CentOS] ip address from range script

2010-07-29 Thread Jozsi Vadkan
TEST-A.txt: list of ip address ranges [AS/isp's in a country] TEST-B.txt: list of ip addresses I just need to know, if an ip in the TEST-B.txt is in a range of TEST-A.txt cat TEST-A.txt 63.31.63.0/24;9007;44536 64.65.0.0/19;9000;8263 62.64.14.0/21;9001;6852 cat TEST-B.txt 63.31.63.2 64.66.5.4

[CentOS] tricky perl question - ascending order

2010-05-23 Thread Jozsi Vadkan
or maybe in bash.. script/one liner e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it: http://pastebin.com/raw.php?i=kH8VxT0A So from the input, i want to make an ascendant order, how many things are under a SOMETHING-XX Does anyone has any perl magic in

Re: [CentOS] tricky perl question - ascending order

2010-05-23 Thread Jozsi Vadkan
The solution [from the FreeBSD mailing list]: perl -00 -e 'print map $_-[0], sort { $a-[1] = $b-[1] } map [$_, tr/\n//], ' before.txt after.txt Thank you!! or maybe in bash.. script/one liner e.g.: input: http://pastebin.com/raw.php?i=pMZPEsMZ i want to make this output from it:

Re: [CentOS] GRUB Hard Disk Error

2010-05-22 Thread Jozsi Vadkan
yes, i tried to install it to hd1,0 too. 2010. 05. 21, péntek keltezéssel 12.43-kor Phil Schaffner ezt írta: Jozsi Vadkan wrote on 05/21/2010 12:29 PM: I've got two pendrives. I want to install a Debian on them. RAID1. This is the CentOS list. ... I already tried: grub-install

[CentOS] GRUB Hard Disk Error

2010-05-21 Thread Jozsi Vadkan
I've got two pendrives. I want to install a Debian on them. RAID1. Ok... ... After I installed it in RAID1, it works perfectly, ok! :) When I pull out one of the pendrive [good pendrive], it still boots up, hurrah :) But: ... When I pull out the other pendrive [i plug in the first one i

[CentOS] boot Debian on a RouterStation Pro

2010-05-02 Thread Jozsi Vadkan
Can anyone post a howto/doc, help about booting a Debian on a RouterStation Pro?:\ https://forum.openwrt.org/viewtopic.php?pid=108415#p108415 I still didn't manage to boot from it. Or any other normal distro :\ Thank you.. p.s.: a little more detailed howto:\

[CentOS] crypt question/server hotel

2010-04-17 Thread Jozsi Vadkan
I want to put my server in a server hotel. But: I don't trust my server hotel owner. What can I do? I can crypt my partition/hdd's that contains the data. Ok. But: then my operating system will not be encrypted. Not Ok. If I crypt my operating system too, then when a reboot comes, I have to

[CentOS] is skype using encryption?

2010-04-10 Thread Jozsi Vadkan
Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype password when i'm using Skype? Is it encrypted? Thank you for the info ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] is skype using encryption?

2010-04-10 Thread Jozsi Vadkan
thank you! :) 2010. 04. 10, szombat keltezéssel 17.04-kor Timo Schoeler ezt írta: On 04/10/2010 04:55 PM, Jozsi Vadkan wrote: Can someone [same subnet, e.g.: with a hub, not switch..] sniff my skype password when i'm using Skype? Nope. Is it encrypted? Yupp... Thank you