cat

Sports balls replaced with kittens

This is horrible, and hilarious. http://sportballsreplacedwithcats.tumblr.com offers a collection of sports photos, where the balls have been replaced by kittens.

The mayor of Talkeetna, Alaska is ... a cat?

I just learned that the mayor of my adopted home town of Talkeetna, Alaska is ... a cat.

The story is here on CNN. A short quote:

“For 15 years, Stubbs the cat has held the top office in Talkeetna, Alaska. And his approval ratings have never been higher. 'He doesn't raise our taxes -- we have no sales tax. He doesn't interfere with business. He's honest,' said Lauri Stec, manager of Nagley's General Store, which doubles as the mayor's office.”

The three beggars (including a lolcat)

The three beggars, including a crazy lolcat. (Sorry, I don't know the original source of this photo.)

Cat smells shoes, passes out (funny)

Cat smells shoes, passes out (funny).

 

Erwin Schrodinger has lost his cat

A cat and a mountain lion, Boulder, Colorado

A cat looks into a "mirror" and thinks, "Man, I look fierce today."

 

Linux shell script heredoc example

I was just working on my Linux Teleport command (Linux cd command with a history), and ran across the code below, which essentially shows how to use a form of "heredoc" syntax in a Bash shell script. This approach uses the Linux cat command, but functions just like the heredoc syntax in languages like Perl.

Here's the source code I just came across:

Linux processor and memory information commands

Linux FAQ: How can I find Linux processor and memory information? (Also written as, How can I find Linux CPU information?, How can I find Linux RAM information?)

To see what type of processor/CPU your computer system has, use this Linux processor command:

cat /proc/cpuinfo

As you can see, all you have to do is use the Linux cat command on a special file on your Linux system. (See below for sample processor output.)

To see your Linux memory information and memory stats use this command:

A long Unix "file management" tutorial page

If you happen to be looking for a collection of Unix "file management" commands, look no further than the Unix/Linux file management page of my "Introduction to Unix" tutorial.

How to display the contents of a gzip/gz file

Problem: You have a plain text file that has been compressed with the gzip command, and you'd like to display the file contents with the Unix/Linux cat or more commands.

Solution: Instead of using the cat or more commands, use their equivalents for working with gz files, the zcat and zmore commands.

Syndicate content