Find the answer to your Linux question:
Results 1 to 2 of 2
i have 2 files named as "System.map" and "/boot/System.map-2.6" like in the following format System.map -> /boot/System.map-2.6. Now queries are 1) How to unlink these 2 files. ( Not delete) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    20

    Unlink a soft link in FC6


    i have 2 files named as "System.map" and "/boot/System.map-2.6"
    like in the following format

    System.map -> /boot/System.map-2.6.
    Now queries are

    1) How to unlink these 2 files. ( Not delete)
    2) How to link System.map with another file (say xx)

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    softlinks are just shortcuts, alternative name of file/folder/device. you can not unlink it. if you delete it, only alternative name will be deleted and nothing will happen to original file/folder/device.
    you can create symlink using 'ln' command.
    Code:
    ln -s <source_file> <soft_link_name>
    check the manual of 'ln' command. man ln.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •