Category Archives: linux

How to create a simple linux device driver

Here, I would show you how to create a simple linux driver that does nothing! This just a demo to show you how to compile, install and remove the device driver. Before we get started, you need to make sure … Continue reading

Posted in compile, kernel, linux | Leave a comment

How to remove all comments in a file

If you are ever stuck in situation where you want to remove all the comments regardless of what they are in a source file. Here’s a small command that you can issue in VIM. It is for pattern search and … Continue reading

Posted in Tips, linux, php | Leave a comment

How to clear sendmail queue

If you ever felt the need of flushing the sendmail queue then this post will be handy to you. How to flush sendmail queue under linux sendmail mailq command in linux how to flush mail queue in sendmail under linux … Continue reading

Posted in Tips, linux | Leave a comment

MySQL not loaded in phpinfo()

This instruction is for LAMP technology. For WAMP, I will post later on. When you have mysql installed in your system, but you do not have mysql.so loaded in your php.ini file. Search for mysql.so in your php extensions directory. … Continue reading

Posted in linux | Leave a comment