1. Create a symbolic link
# Include Define the function int symlink (const char * oldpath, const char * newpath );Function Description symlink () uses the name specified by newpath to create a new connection (symbolic connection) to the existing
1.How to use: ln [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 created, it is deleted with the file name.-I ask before deleting.LN-S ABC CDE establishes
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
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
Use of Linux links: Create and delete symbolic connections
1. Usage: ln [Option] source_file dist_file-F: When the file is created, the same file name will be deleted.-I ask before deletion.Ln-s abc cde establishes a soft connection of ABCLn abc cde
1. usage : When ln [option] source_file dist_file-f is established, it will be deleted with the file name. -I ask before deleting. LN-S ABC CDE establishes the soft connection of ABC, LN ABC CDE establishes the hard connection of
How to use: ln [option] source_file Dist_file
When-F is established, it is deleted with the file name.
-I to ask before deleting.
LN-S ABC CDE establishes the soft connection of ABC
The LN ABC CDE establishes the hard connections of ABC,
The difference between a Linux soft connection and a hard link 2011-06-27Zale's picture ... read 3345 transfer Go to my library.Share:
4 points Different:(1) Soft connection can cross file system, hard connection is not possible. The
1. IntroductionSun's Network File System (NFS) protocol provides transparent remote access to shared files in the network. The NFS protocol is designed to be suitable for different machines, operating systems, network systems, and transmission
Linux Study Notes-ln command (link command)
Ln: English name link.
In Linux, there are two special "Files": Soft links and hard links ".
Hard link features:
1) Hard-link files have the same inode nodes and storage block as source files. They can be
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:
and provide relevant evidence. A staff member will contact you within 5 working days.