quinta-feira, 29 de janeiro de 2009

dmesg fun: endless printing like "hacker movies"

Did you notice that every Hollywood movie that show some guy hacking in a deep-voodoo-programming-frenesi has some cool stuff being printed in a lot of black-green terminals? And that nonsense lines are printed so quickly that only the "hacker" can read??

When I'm programming or analyzing logs, the line-breaks flow slow and boooring... The closest thing is when I'm compiling something with 'make'. So I was thinking: why I can't have my own hacker-like cool printing to impress my girlfriend by pretend doing important stuff?

Yes I can!

Then i wrote this (useless) command to print a infinite looping dmesg in a black-green terminal: