Find the answer to your Linux question:
Results 1 to 7 of 7
I am confused as to how you "create a symbolic link" to a file. I need to create a symbolic link to a file for my Firefox plugins folder, so ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7

    Creating Symbolic Link

    I am confused as to how you "create a symbolic link" to a file. I need to create a symbolic link to a file for my Firefox plugins folder, so that my java runtime engine will work. Every set of instructions I find, tells me to create the symbolic link... no set of instructions tells me "how" to create it(i don't know what is so hard about these people including a bit of instructions for people, what do I have to have? A doctorate in Linux administration just to understand what the heck they are talking about?).

    I am using Kubuntu 6.10 . And BTW, is "symbolic link" the same thing as a "shortcut" in MS Windows? I am used to clicking a file, and selecting "create shortcut", if that is the case. What must I do in Kubuntu 6.10 if i want to do that, or to create this "symbolic link"?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Code:
    ln -sf <source> <target>
    check manual of 'ln'. man ln
    I am using Kubuntu 6.10 . And BTW, is "symbolic link" the same thing as a "shortcut" in MS Windows? I am used to clicking a file, and selecting "create shortcut", if that is the case. What must I do in Kubuntu 6.10 if i want to do that, or to create this "symbolic link"?
    yes, its like Shorcut. execute 'ln' command.





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

  3. #3
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Create symlinks using the command below:

    ln -s filename linkname

    The filename refers to the file you wish to access, while linkname refers to the name of the symlink file.

    Ah... DC was too fast again!
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Just Joined!
    Join Date
    Nov 2007
    Posts
    2
    OK, but if I want to shorten
    /dev/hda1/Audio/iTunes/myCollection/ (a WinNTFS directory) into
    /iTunes/
    can I use the same ln command (as my Ubuntu is on /dev/hdb)?

    -mark

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    OK, but if I want to shorten
    /dev/hda1/Audio/iTunes/myCollection/ (a WinNTFS directory) into
    /iTunes/
    can I use the same ln command (as my Ubuntu is on /dev/hdb)?
    Yes. You can do that.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Nov 2007
    Posts
    2
    Quote Originally Posted by devils_casper View Post
    Yes. You can do that.
    Did it - at last - works wonders! There are a lot more of these shortcuts I´m going to work on.
    Thanks DC
    -mark

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you Onderhil !
    Do start a new thread if you have any other question.
    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
  •  
...