FREQUENTLY ASKED QUESTIONS (RPM Linux)
Q: How to create a soft link in Linux? (Redhat, CentOS, Fedora)
Soft link contain only a location path to original file. and if original file deleted, link will not work.
Create a soft link in Fedora/CentOS/Redhat
Q: How to create a soft link in Linux? (Redhat, CentOS, Fedora)
Soft link contain only a location path to original file. and if original file deleted, link will not work.
Create a soft link in Fedora/CentOS/Redhat
Syntax:
[root@server ~#]ln -s <source file> <link name>
eg:
[root@server ~#]ln -s /new/flight.jpg /home/james/flight
(Now a link or a shortcut of the master file "/new/flight.jpg" is created in "/home/james/flight"
#Note: the soft link will not work if you delete the original file
0 comments:
Post a Comment