More Unix Jokes

I never grow tired of Linux jokes, and neither should you :D So to give you another good day ahead, here is yet another Unix joke for you to laugh at.

What you are about to read are Unix commands and the corresponding error messages that each command generate, thrown in with a bit of sense of humor. The result? Funny geeky stuff.

Enjoy ;)

% rm meese-ethics
rm: meese-ethics nonexistent

% ar m God
ar: God does not exist

% “How would you rate Reagan’s incompetence?
Unmatched .”

% [Where is Jimmy Hoffa?
Missing ].

% ^How did the sex change^ operation go?
Modifier failed.

% If I had a ( for every $ Reagan spent, what would I have?
Too many (’s.

% make love
Make: Don’t know how to make love. Stop.

Read the rest of this entry »

Popularity: 10% [?]

Tip: Testing Your PHP/MySQL Connection

How to test if PHP connects to MySQL database?

There are numerous times when I have to setup Apache and PHP on a freshly installed Linux server. Considering that not only that Apache service should work, I also have to make sure that PHP and MySQL are working properly together.

Forgetful that I am, I always tend to forget what components should I have to make PHP and MySQL talk to each other. You need something like a ’special glue’ to connect the two together and I will discuss here how to make PHP and MySQL work together for both RPM and source installation.
Read the rest of this entry »

Popularity: 11% [?]

What Happens After rm -rf / ?

Here is what happens when you do the dreaded “rm -rf /” command in Linux:

:))

Popularity: 14% [?]

Ultimate Linux Cheat Sheets

If you are in dire need of SOS because of that little command that is stuck at the tip of your tongue or you are having a huge case of memory gap, fret not. Here is a quick link to a massive list of Unix/Linux cheat sheets. One link points to http://www.tuxfiles.org/linuxhelp/linuxcommands.html which profiles a list of Linux commands that are newbie friendly.

List too long for you? You can try the Linux command apropos <keyword>. This command searches the whatis database for strings that matches your keyword. Let’s say you forgot the command to copy a file (uh-oh) so we go like this:

# apropos copy

# cp (1) - copy files and directories
# cp (1p) - copy files

Hey there it is! ;) So we got cp. You can now use man command to check if cp is really what you are looking for. Google is also a neat tool if internet access is readily available. :D

Popularity: 9% [?]