Friday, 15 May 2015

Linux : Search link between two files.

There are two types of links are present bet ween files. One is Hard link and another one is Soft link.

command to creat hard link file :
$ln  file_name1 file_name2

Note: the file_name1 should create using vi editor or using cat command  before making the link.

command to make soft link files/symbolic link files.
$ln -s file_name1 file_name2




No comments:

Post a Comment