Follow by Email

Create a hard link in Fedora/Centos/Redhat

FREQUENTLY ASKED QUESTIONS (RPM Linux)
Q: How to create a hard link in Linux? (Redhat, CentOS, Fedora)

Hard link is a shortcut to a master file, but it contain a copy of original file. and link will work fine even after deleting the 
original file.
Create a hard link in Fedora/CentOS/Redhat
Syntax:
[root@server ~#]ln <source file> <link name>
eg:
[root@server ~#]ln /new/flight.jpg /home/james/flight
(Now a link to the master file "/new/flight.jpg" is created in "/home/james/flight"
#Note: the soft link will work after you delete the original file.

Was this helpfull ?

0 comments:

Related Posts Plugin for WordPress, Blogger...

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons