Posts tagged with ‘Linux’

How to avoid duplicate content using .htaccess

advertisement

htaccessIf domain.com and www.domain.com has same content, Google will think it as duplicate content. However, you can use .htaccess to avoid duplicate content. Solution is to redirect your visitor to one of the domain, either with www or without www. The trick below is a simple yet effective way to avoid duplicate content on the same domain.

To avoid duplicate content using.htaccess, follow the steps below:-

Continue reading How to avoid duplicate content using .htaccess »

How to use apt to list available packages?

advertisement

debian apt, debianJust installed Debian and looking for ways to list all available packages using apt. After some search, i found that you can use apt-cache to list all available packages in debian.

To list all available packages from apt, follow the steps below:-

Continue reading How to use apt to list available packages? »

How to mount samba in Mac OS X / Linux?

advertisement

Just learned how to mount samba for my backup. Before any backup operation, i need to mount my samba network drive from my Mac book. Here’s the command line version of how to mount samba in Mac OS.

To mount samba in Mac OS X, you can use the command below:-

Continue reading How to mount samba in Mac OS X / Linux? »