Add new hard disk in Debian

To addd a new hard disk in debian from command line, look at this article:

It uses UUID to enable the hard disk which enables using the hard disk even when more hd are attached or some are removed from the system. For Debian Jessie (ver 8.x) users, there is an additional step to choose disk label type while partitioning the disk using cfdisk. To avoid any in-compatibilites, I would suggest  using the same disk label type as the one being used in your current hard disk. This can be determined using fdisk – l command, where the output will contain “Disklabel type:”  for the existing hard disk.


Creating hard links in Windows 7

If you need to create a hard link on Windows (as opposed to soft links which are created by default), you can create it using command line. The exact syntax would be:

mklink /J <Link> <Target>

So say you need to create a link www in the current folder which needs to point to D:\my_files\html, the command would be:

mklink /J www D:\my_files\html

This utility works in Windows Vista and Windows 7, and should also work on Windows 8 & 10.