Converting dos(windows) files to unix files

While using windows we get ^M characters in files that will get displayed when you open files on unix machines.To remove such ^M characters,Install dos2unix package usingsudo apt-get install sysutilsConvert individual filedos2unix file_pathRun following command to convert recursively all the files inside directory.find . -type f -exec dos2unix {} \;sudo apt-get install sysutils

How to submit sitemap to search engines

There are many ways that can be used to submit sitemap to search engines.Lets discuss approaches1. Put sitemap.xml in public folder and you are done.    Crawlers will find it through url    http://yourdomain.com/sitemap.xml2. There are many online sites which generates sitemaps for you.    like http://www.xml-sitemaps.com/3. Open following urls in browser. Be sure to add xml sitemap path … Continue reading How to submit sitemap to search engines