unable to copy the following message shows: “no such file or directory”












1















I just recently installed Ubuntu 14.04 server to host an open source human resources software with 20 computers on our office network. I am new to Linux and I really need everyone's help!



sudo cp -R /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank /var/lib/iHRIS/sites/manage


I'm using the above command to copy but the following message shows:



"cp: cannot stat ‘/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank’: No such file or directory"


What do I missed?! Everyone's kind assistance is greatly appreciated!



Thank you,










share|improve this question

























  • Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

    – Farooq
    May 21 '14 at 3:36













  • check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

    – souravc
    May 21 '14 at 3:48











  • Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

    – user283365
    May 21 '14 at 5:47
















1















I just recently installed Ubuntu 14.04 server to host an open source human resources software with 20 computers on our office network. I am new to Linux and I really need everyone's help!



sudo cp -R /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank /var/lib/iHRIS/sites/manage


I'm using the above command to copy but the following message shows:



"cp: cannot stat ‘/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank’: No such file or directory"


What do I missed?! Everyone's kind assistance is greatly appreciated!



Thank you,










share|improve this question

























  • Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

    – Farooq
    May 21 '14 at 3:36













  • check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

    – souravc
    May 21 '14 at 3:48











  • Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

    – user283365
    May 21 '14 at 5:47














1












1








1








I just recently installed Ubuntu 14.04 server to host an open source human resources software with 20 computers on our office network. I am new to Linux and I really need everyone's help!



sudo cp -R /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank /var/lib/iHRIS/sites/manage


I'm using the above command to copy but the following message shows:



"cp: cannot stat ‘/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank’: No such file or directory"


What do I missed?! Everyone's kind assistance is greatly appreciated!



Thank you,










share|improve this question
















I just recently installed Ubuntu 14.04 server to host an open source human resources software with 20 computers on our office network. I am new to Linux and I really need everyone's help!



sudo cp -R /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank /var/lib/iHRIS/sites/manage


I'm using the above command to copy but the following message shows:



"cp: cannot stat ‘/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank’: No such file or directory"


What do I missed?! Everyone's kind assistance is greatly appreciated!



Thank you,







command-line






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 21 '14 at 3:38









souravc

27.4k1377107




27.4k1377107










asked May 21 '14 at 3:33









user283365user283365

1123




1123













  • Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

    – Farooq
    May 21 '14 at 3:36













  • check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

    – souravc
    May 21 '14 at 3:48











  • Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

    – user283365
    May 21 '14 at 5:47



















  • Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

    – Farooq
    May 21 '14 at 3:36













  • check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

    – souravc
    May 21 '14 at 3:48











  • Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

    – user283365
    May 21 '14 at 5:47

















Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

– Farooq
May 21 '14 at 3:36







Have You checked file is locate under this location? (/var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank)

– Farooq
May 21 '14 at 3:36















check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

– souravc
May 21 '14 at 3:48





check all the directory names exactly as it is or not (case sensitive), see if there are any space in between directory names.

– souravc
May 21 '14 at 3:48













Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

– user283365
May 21 '14 at 5:47





Thank you everyone! There is a compressed file with extension tar.bz2 in folder 4.1.9, if I uncompressed this file it will show the "ihris-manage folder and all subfolders, but I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?

– user283365
May 21 '14 at 5:47










2 Answers
2






active

oldest

votes


















0














Try to type in the shell



ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank


it would probably say that the file does not exist. So go up one element in the path and do



ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/


...it should list all the files in this directory. If still gives you an error, try with



ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/


...and so on. You got the idea, you are bound to find the part of your pathname which is wrong or mispelled.






share|improve this answer































    0














    Please check the spelling and case of the file/directory path your are trying to copy. This is most likely due to a mistyped file/directory path. Remember that Linux is case-sensitive, and if you have any spaces in a file/directory names you must put the path in quotes:



    sudo cp -R "/home/username/some folder name/"





    share|improve this answer


























    • Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

      – user283365
      May 21 '14 at 5:12











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f469905%2funable-to-copy-the-following-message-shows-no-such-file-or-directory%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









    0














    Try to type in the shell



    ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank


    it would probably say that the file does not exist. So go up one element in the path and do



    ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/


    ...it should list all the files in this directory. If still gives you an error, try with



    ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/


    ...and so on. You got the idea, you are bound to find the part of your pathname which is wrong or mispelled.






    share|improve this answer




























      0














      Try to type in the shell



      ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank


      it would probably say that the file does not exist. So go up one element in the path and do



      ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/


      ...it should list all the files in this directory. If still gives you an error, try with



      ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/


      ...and so on. You got the idea, you are bound to find the part of your pathname which is wrong or mispelled.






      share|improve this answer


























        0












        0








        0







        Try to type in the shell



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank


        it would probably say that the file does not exist. So go up one element in the path and do



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/


        ...it should list all the files in this directory. If still gives you an error, try with



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/


        ...and so on. You got the idea, you are bound to find the part of your pathname which is wrong or mispelled.






        share|improve this answer













        Try to type in the shell



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/blank


        it would probably say that the file does not exist. So go up one element in the path and do



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/sites/


        ...it should list all the files in this directory. If still gives you an error, try with



        ls -l /var/lib/iHRIS/lib/4.1.9/ihris-manage/


        ...and so on. You got the idea, you are bound to find the part of your pathname which is wrong or mispelled.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 21 '14 at 4:04









        RmanoRmano

        25.5k880147




        25.5k880147

























            0














            Please check the spelling and case of the file/directory path your are trying to copy. This is most likely due to a mistyped file/directory path. Remember that Linux is case-sensitive, and if you have any spaces in a file/directory names you must put the path in quotes:



            sudo cp -R "/home/username/some folder name/"





            share|improve this answer


























            • Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

              – user283365
              May 21 '14 at 5:12
















            0














            Please check the spelling and case of the file/directory path your are trying to copy. This is most likely due to a mistyped file/directory path. Remember that Linux is case-sensitive, and if you have any spaces in a file/directory names you must put the path in quotes:



            sudo cp -R "/home/username/some folder name/"





            share|improve this answer


























            • Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

              – user283365
              May 21 '14 at 5:12














            0












            0








            0







            Please check the spelling and case of the file/directory path your are trying to copy. This is most likely due to a mistyped file/directory path. Remember that Linux is case-sensitive, and if you have any spaces in a file/directory names you must put the path in quotes:



            sudo cp -R "/home/username/some folder name/"





            share|improve this answer















            Please check the spelling and case of the file/directory path your are trying to copy. This is most likely due to a mistyped file/directory path. Remember that Linux is case-sensitive, and if you have any spaces in a file/directory names you must put the path in quotes:



            sudo cp -R "/home/username/some folder name/"






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 21 '14 at 5:00









            amc

            4,77462746




            4,77462746










            answered May 21 '14 at 3:50







            user283725




















            • Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

              – user283365
              May 21 '14 at 5:12



















            • Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

              – user283365
              May 21 '14 at 5:12

















            Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

            – user283365
            May 21 '14 at 5:12





            Thank you everyone! I did check everything and everything seem to be in order, the path and folders etc...but there is a compressed file withe extension *.tar.bz2 which I have to uncompressed in folder 4.1.9, I try to uncompressed it but there is a message saying that "you don't have the right permission to extract archive in this folder". What do I have to do?!

            – user283365
            May 21 '14 at 5:12


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f469905%2funable-to-copy-the-following-message-shows-no-such-file-or-directory%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅