Symbolic link ./././











up vote
1
down vote

favorite












So I was asked to create a link "..." like ../ but two go an extra level up in Linux. I understand that I must use ln -s to create a symbolic link.










share|improve this question




























    up vote
    1
    down vote

    favorite












    So I was asked to create a link "..." like ../ but two go an extra level up in Linux. I understand that I must use ln -s to create a symbolic link.










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      So I was asked to create a link "..." like ../ but two go an extra level up in Linux. I understand that I must use ln -s to create a symbolic link.










      share|improve this question















      So I was asked to create a link "..." like ../ but two go an extra level up in Linux. I understand that I must use ln -s to create a symbolic link.







      linux directory






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 24 at 20:11









      Rui F Ribeiro

      38.3k1476127




      38.3k1476127










      asked Feb 29 '16 at 22:36









      Phantom1421

      3317




      3317






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Basically you have to do the following (if I understood your question correctly):



          ln -s /path/to/file /path/to/symlink





          share|improve this answer





















          • can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
            – Jay T.
            Feb 29 '16 at 22:48










          • Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
            – Phantom1421
            Feb 29 '16 at 22:51










          • sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
            – Jay T.
            Feb 29 '16 at 23:10












          • very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
            – Phantom1421
            Mar 1 '16 at 0:00


















          up vote
          1
          down vote













          ln -s ../.. ... #target linkName


          rtf ln(1) m






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f266624%2fsymbolic-link%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Basically you have to do the following (if I understood your question correctly):



            ln -s /path/to/file /path/to/symlink





            share|improve this answer





















            • can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
              – Jay T.
              Feb 29 '16 at 22:48










            • Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
              – Phantom1421
              Feb 29 '16 at 22:51










            • sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
              – Jay T.
              Feb 29 '16 at 23:10












            • very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
              – Phantom1421
              Mar 1 '16 at 0:00















            up vote
            1
            down vote



            accepted










            Basically you have to do the following (if I understood your question correctly):



            ln -s /path/to/file /path/to/symlink





            share|improve this answer





















            • can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
              – Jay T.
              Feb 29 '16 at 22:48










            • Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
              – Phantom1421
              Feb 29 '16 at 22:51










            • sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
              – Jay T.
              Feb 29 '16 at 23:10












            • very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
              – Phantom1421
              Mar 1 '16 at 0:00













            up vote
            1
            down vote



            accepted







            up vote
            1
            down vote



            accepted






            Basically you have to do the following (if I understood your question correctly):



            ln -s /path/to/file /path/to/symlink





            share|improve this answer












            Basically you have to do the following (if I understood your question correctly):



            ln -s /path/to/file /path/to/symlink






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 29 '16 at 22:40









            Jay T.

            564




            564












            • can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
              – Jay T.
              Feb 29 '16 at 22:48










            • Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
              – Phantom1421
              Feb 29 '16 at 22:51










            • sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
              – Jay T.
              Feb 29 '16 at 23:10












            • very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
              – Phantom1421
              Mar 1 '16 at 0:00


















            • can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
              – Jay T.
              Feb 29 '16 at 22:48










            • Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
              – Phantom1421
              Feb 29 '16 at 22:51










            • sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
              – Jay T.
              Feb 29 '16 at 23:10












            • very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
              – Phantom1421
              Mar 1 '16 at 0:00
















            can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
            – Jay T.
            Feb 29 '16 at 22:48




            can you either repeat what you are trying to say or just edit the comment to make it more clear, for some reason (could be totally my fault, sorry for that) I am unable to grasp as to what exactly you are trying to do.
            – Jay T.
            Feb 29 '16 at 22:48












            Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
            – Phantom1421
            Feb 29 '16 at 22:51




            Ok so what I have is say I am in the directory home/zman/it200 and I am told to go back to the home directory I can use ../ but I would need to use twice so instead of doing that I have to create a symbolic link to have that do it twice for me when I call the link, hope this makes more sense?
            – Phantom1421
            Feb 29 '16 at 22:51












            sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
            – Jay T.
            Feb 29 '16 at 23:10






            sure you can do something like: ln -s ../../ target and then if you do cd target you will have a link to your home directory.
            – Jay T.
            Feb 29 '16 at 23:10














            very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
            – Phantom1421
            Mar 1 '16 at 0:00




            very important question, does it import everything from the home library or move to the home library. so what i mean is when i took you advice and did ln -s ../../ target and then did cd target my pwd is /it244/hw2/target , is this right?
            – Phantom1421
            Mar 1 '16 at 0:00












            up vote
            1
            down vote













            ln -s ../.. ... #target linkName


            rtf ln(1) m






            share|improve this answer

























              up vote
              1
              down vote













              ln -s ../.. ... #target linkName


              rtf ln(1) m






              share|improve this answer























                up vote
                1
                down vote










                up vote
                1
                down vote









                ln -s ../.. ... #target linkName


                rtf ln(1) m






                share|improve this answer












                ln -s ../.. ... #target linkName


                rtf ln(1) m







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 29 '16 at 22:41









                PSkocik

                17.5k44993




                17.5k44993






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f266624%2fsymbolic-link%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Morgemoulin

                    Scott Moir

                    Souastre