nyankoframe: (Default)
nyankoframe ([personal profile] nyankoframe) wrote2006-08-31 10:19 pm
Entry tags:

There are too many llamas on my laptop...

So much so that cat errored out too. :P


nyanko@LupinIX:~$ sudo cat /dev/mem | strings | grep llama | wc -l
cat: /dev/mem: Bad address
332


For those people who don't know what that means, here's an explanation:

"But to explain it very simply, what that command does is to dump the computer's memory to the screen (cat), get all the text from the dump(strings), find all lines which have llama in them (grep) and then count the number of lines (wc).

So there were 332 lines with "llama" in them in my laptop's memory. ^_^;"

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting