Beginner’s guide to Linux commands – paste

Today we are going to look at paste command in Linux. Paste man page says it's a tool to "merge lines of files", that is correct it merges each line in one or more than one files. Take a Look at file named file.txt

Without any option paste command works like cat.

Merging… Continue reading Beginner’s guide to Linux commands – paste

How to troubleshoot memory issues in Linux

Outages due to out of memory are common issues with Linux systems, mainly in web hosting industry. People trying to run their personal blog or website in 512MB VPS servers often face these issues. But its a difficult job to find the exact service or web application which is causing OOM ( http://en.wikipedia.org/wiki/Out_of_memory ). Below… Continue reading How to troubleshoot memory issues in Linux

Gid xx is not permitted to relay mail

If you are getting the error shown below when trying to send mail using “cgiemail” or php script you need to try following solution.

1 First check if /usr/sbin/sendmail is there and make sure that it is not a link to /usr/sbin/exim 2 Check the permissions. The permission should be as follows.

Owner… Continue reading Gid xx is not permitted to relay mail