Monday, August 13, 2012

RPM querry packages and there build arch

Most of the time rpm shows is the package name - version, but strips the build arch, ie. i386 or x86_64. Hence what we see are 2 similar package names and we wondering what is going on :)


$ rpm -qf /usr/bin/lsb_release
redhat-lsb-4.0-2.1.4.el5
redhat-lsb-4.0-2.1.4.el5

here is a way to see the arch use '--qf "%{n}-%{v}-%{r}-%{arch}\n"'


$ rpm -qf /usr/bin/lsb_release --qf "%{n}-%{v}-%{r}-%{arch}\n"
redhat-lsb-4.0-2.1.4.el5-x86_64
redhat-lsb-4.0-2.1.4.el5-i386






Friday, May 25, 2012

Google.co.in hacked

searched something and it says

--

FOR ALL THOSE WHO MISSED IT HERE WE GO AGAIN :D XD Anonymous REVENGE / WE OWN YOU
 Told you not to mess with free speech and lesser with Anonymous
Government of India, you know what you did wrong. you caused out twitter account to be blocked now we will show you what anonymous is capable of doing.
--

Wow!

sanjayu@brightstill-l7:~$ lynx --dump 'http://www.google.co.in/search?q=beat+diesel&sourceid=opera&ie=utf-8&oe=utf-8&channel=suggest'
   IFRAME:
   [1]http://115.248.224.100:8080/webadmin/deny/index.php?dpid=1&dpruleid=
   56&cat=201,202,203&ttl=-100&groupname=default&policyname=default&userna
   me=-&userip=101.63.181.65&connectionip=1.0.0.127&nsphostname=rel-netsw-
   chennai&protocol=nsef&dplanguage=-&url=http%3a%2f%2fwww%2egoogle%2eco%2
   ein%2fsearch%3fq%3dbeat%2bdiesel%26sourceid%3dopera%26ie%3dutf%2d8%26oe
   %3dutf%2d8%26channel%3dsuggest

References

   1. http://115.248.224.100:8080/webadmin/deny/index.php?dpid=1&dpruleid=56&cat=201,202,203&ttl=-100&groupname=default&policyname=default&username=-&userip=101.63.181.65&connectionip=1.0.0.127&nsphostname=rel-netsw-chennai&protocol=nsef&dplanguage=-&url=http%3a%2f%2fwww%2egoogle%2eco%2ein%2fsearch%3fq%3dbeat%2bdiesel%26sourceid%3dopera%26ie%3dutf%2d8%26oe%3dutf%2d8%26channel%3dsuggest
sanjayu@brightstill-l7:~$ 
sanjayu@brightstill-l7:~$ host 115.248.224.100
Host 100.224.248.115.in-addr.arpa. not found: 3(NXDOMAIN)

sanjayu@brightstill-l7:~$ host google.co.in
google.co.in has address 74.125.236.191
google.co.in has address 74.125.236.183
google.co.in has address 74.125.236.184
google.co.in mail is handled by 10 google.com.s9a2.psmtp.com.
google.co.in mail is handled by 10 google.com.s9b1.psmtp.com.
google.co.in mail is handled by 10 google.com.s9b2.psmtp.com.
google.co.in mail is handled by 10 google.com.s9a1.psmtp.com.
sanjayu@brightstill-l7:~$ host 74.125.236.191
191.236.125.74.in-addr.arpa domain name pointer maa03s16-in-f31.1e100.net.


sanjayu@brightstill-l7:~$ curl -D - http://google.co.in
HTTP/1.1 301 Moved Permanently
Location: http://www.google.co.in/
Content-Type: text/html; charset=UTF-8
Date: Sat, 26 May 2012 04:43:29 GMT
Expires: Mon, 25 Jun 2012 04:43:29 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 221
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN


301 Moved

301 Moved


The document has moved
here.

sanjayu@brightstill-l7:~$

Thursday, March 8, 2012

I thought I have to praise this song

mtv coke link

as sometimes you are touched with a song more than you can say, I am feeling the same right now. God knows the depth of the lyrics and the feeling with which Wadali Brothers can transform it. God bless them.

Reading the wikipedia, I felt like going to Guru ki Wadali, right now and pay my obeisances and sit and hear whatever they have to say for a long time.

List directories via 'ls -d' - surprised me

List directories via 'ls -d' - surprised me This was one of those feelings where I was left surprised with the humble linux comm...