Difference between ./ and / (relative path and Absolute path)

In web or desktop programming/command-prompt use, we often come through such situations where we have to use relative/absolute paths. Is there are any differences between the notation “./” and “/” ? ./ Yes, there are! When you use “./” we mean an relative path. Suppose, you are in the location http://www.somedomain.com/some_directory/index.html Now, if you want […]

How to install program/Application/Software from .tar.gz / .tar.bz2 / .sh / .deb in Ubuntu Linux

Usually, .tar.gz or .tar.bz2 files are compressed files (just like zip files in windows). so, first you need to extract the contents of the .tar.gz file. Extract a .tar.gz or .tar.bz file: Right-click on the file and select Extract. Optionally, you can extract using a terminal: .tar.gz files: tar xzvf filename.tar.gz .tar.bz2 files: tar xjvf […]

Create HTML by PHP – Easy and Quick Free HTML Generator!

To generate HTML Pages by PHP, we need to echo certain HTML tags, like <head>,<html>, external javascripts, css, <meta> tags blah blah blah…. it’s boring to print these tags each time you create a HTML page just to display a short message or short body. So I’ve created a template called html.php, you can include […]