Discover symbolic link in windows, include the articles, news, trends, analysis and practical advice about symbolic link in windows on alibabacloud.com
A symbolic link, also termed a soft link, is a special kind of file that points to another file, much like
ShortcutIn Windows or
Macintosh alias. Unlike a hard link, a symbolic link does not contain the data in the target file. it simply points to
In Unix-like systems, symbolic links are common and we encounter a variety of processing work related to symbolic links.This article for you to introduce some of the practice of symbolic links, I hope to write a shell script to bring some help, the
In my previous impression, the ln command under Linux looked like a shortcut under Windows, but after touching the Mklink command under Windows, it found that the links under windows were powerfulThe ln command under Linux
Linux under the LN
Note: Only for learning Exchange, reprint please specify the source
Similar to Windows system shortcuts, Linux systems also provide a quick way to locate files in different directories. There are two kinds of links in Linux systems: one is hard
0X00 What is a linked file
The linked file in Linux is the equivalent of a shortcut in Windows, which can be accessed by linking files to the source files that the link points to. However, there is a certain difference between the link file under
There are two types of links, one called hard links (Hard link) and the other is called Symbolic links (symbolic link, also known as soft links). By default, the LN command produces a hard link.
(a) Hard link
1. The syntax to produce hard links
# ln
In Unix-like systems, symbolic links are very common and we will encounter various processing tasks related to symbolic links.This article introduces some practical methods for handling symbolic links. I hope to help you write shell scripts. For
First, the mode of useln [option] source_file dist_file (source_file is the file to be established for the linked file, Dist_file is the newly created link file)-F is established and will be deleted with the file name.-I ask before deleting. ln-s
Index node inode:Linux assigns an index node number to each file. inode can be simply understood as a pointer, which always points to the specific storage location of the file on the physical disk. The system locates each file by indexing nodes
Original link: http://blog.csdn.net/janpylx/article/details/6761910First, the mode of useln [option] source_file dist_file (source_file is the file to be established for the linked file, Dist_file is the newly created link file)-F is established
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.