The Linux Page

Help other users realize that everything is possible, especially avoiding Windows for their own personal use.

Welcome to The Linux Page

Fox Trot by Bill Amend. Click to enlarge.
Click to enlarge

This site is a collection of my own work with Linux. Certain things are easy, others take time to decipher and if I ever need to repeat the work (which usually happens!), then I need to remember everything by memory or... have a site with all the steps taken and to take again.

The following are my most recent posts:

I thought it was interesting to see that some people actually tested the length of URLs in different browsers. You have to know that the size of a URL in the location bar may be differently limited than the length of the URLs you can go to with the browser (i.e. the URL in an anchor may need to be shorter! Or could be longer and still work.)

Note: These are Browsers limits in 2006.

This is a quick note so I can find the command I need to use to list open files.

My search will work this time.

lsof stands exactly for "LiSt Open Files"

That gives you a list of all the files opened by your system, process by process. It can be useful to know if you are developing a program or if you are limited in the number of files opened at once.

I spent hours today to find this one module: Rules.

In most cases, you can set up a rule in Drupal with their Actions and Triggers and it will work just fine. The fact is that these options are extremely limited if you want any kind of condition on the Rule before triggering the action.

The idea is very simple:

1. Something happens

2. Check whether it is of interest1

3. Trigger the action

I needed that functionality for a couple of websites because I wanted to get an event whenever someone created a new page, but not for any type of ...

  • 1. This part is what is missing in Drupal Core v6.x

Since I installed Samba on my Linux box, I get many errors. From root kit checkers that tell me the port is deadly infected (no kinding!) to PAM that every day would tell me that the /lib/security/ module could not be found.

Oh! Yeah! I actually had to install that module. Not too obvious from the error though. I thought it would be automatic.

Every time a Windows box would connect, I'd get this entry:

May 17 07:05:01 hostname CRON[14871]: PAM unable to dlopen(/lib/security/
May 17 07:05:01 hostname CRON[14871]: PAM [error: /lib/security/

MS-Access defines many different types, including a newer one called DECIMAL.

You are supposed to be able to create tables with the DECIMAL type. So a statement such as:

   CREATE TABLE MyTbl (decimal_test DECIMAL(20, 5))

should work. Right?

I have been using CurrentDb.Execute for a while and that statement was causing the Execute function to return an error saying that the field definition was erronous (Syntax error in field definition, to be exact).

The trick is very simple!

I have been writing C/C++ code for... well... over 10 years.

I'm always surprised when I use another language and some basic rules are completely different.


Today I finally noticed that the W3C validator was open source (some people are real slow!)

This means I can get the source and run that validator on my system! Cool!

Under Debian you can just download the package with:

   apt-get install w3c-markup-validator

The will properly install the module, however, it won't be recognized just as is. I had to do several things to get things to mostly work...


If you want to use a specific domain name, you will need to edit your bind configuration file and add it.


Now, Apache is seemingly setup properly to ...

With Drupal, it is possible to have many sites defined in many different ways.

These are the things you can have in your URL that Drupal will understand and use to configure your site. The configuration file is called settings.php and will reside in a folder of which the name is determined using the URL used to access the site.

1. Fully qualified domain name

2. Port

3. Path withing the website

Sites are expected to be found under the 'sites' folder found in the same directory as the index.php file.

A quick CSV (Comma Separated Values) reference:

1) Row separator

  \n   \r\n

In order to separate lines, use a newline character sequence.

Most loaders probably support the \r sequence too. (Especially on MacOS/X)

[toc hide:1]

I have been trying to get my imap_open() function to connect to my mail server.

The mail server works just fine since I can use it over and over again to receive emails in Thunderbird.


Thank you for visiting my website.