Creating multi directory on Desktop best practice Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Quick path jumpingDelete duplicate files with different extensionsWriting an alias that puts a folder and its subfolders/files into an encrypted archive titled with the dateHow to copy clone folder to remote computer in one line?Accidentally renamed /bin Help!Best practice for creating a custom scriptHow to implement this scenario using Terminal? (in Ubuntu 14.04.5 LTS)How to invoke a text file as a list of commandsWhy did an rm command executed from a pwd NOT / remove directories from it?Is quoting filenames enough security for running `xargs sudo rm -rf`?

What do you call a plan that's an alternative plan in case your initial plan fails?

Fishing simulator

Why use gamma over alpha radiation?

How do you clear the ApexPages.getMessages() collection in a test?

What is the largest species of polychaete?

Simulating Exploding Dice

Aligning matrix of nodes with grid

How many spell slots should a Fighter 11/Ranger 9 have?

Can I throw a sword that doesn't have the Thrown property at someone?

What LEGO pieces have "real-world" functionality?

If I can make up priors, why can't I make up posteriors?

Slither Like a Snake

Does the STL have a way to apply a function before calling less than?

If A makes B more likely then B makes A more likely"

Working around an AWS network ACL rule limit

Is there folklore associating late breastfeeding with low intelligence and/or gullibility?

Is it possible to ask for a hotel room without minibar/extra services?

Would an alien lifeform be able to achieve space travel if lacking in vision?

How did passengers keep warm on sail ships?

How does modal jazz use chord progressions?

How to add zeros to reach same number of decimal places in tables?

Was credit for the black hole image misattributed?

What to do with post with dry rot?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?



Creating multi directory on Desktop best practice



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Quick path jumpingDelete duplicate files with different extensionsWriting an alias that puts a folder and its subfolders/files into an encrypted archive titled with the dateHow to copy clone folder to remote computer in one line?Accidentally renamed /bin Help!Best practice for creating a custom scriptHow to implement this scenario using Terminal? (in Ubuntu 14.04.5 LTS)How to invoke a text file as a list of commandsWhy did an rm command executed from a pwd NOT / remove directories from it?Is quoting filenames enough security for running `xargs sudo rm -rf`?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















My pwd is



/home/john


and need to create three folders, File1 File2 File3 in the Desktop folder. I have two choices.



cd Desktop/
mkdir File1..3


or



mkdir Desktop/File1 Desktop/File2 Desktop/File3


Is there a way to go with the second choice without having to type the relative path (Desktop) each time ?



Thanks










share|improve this question









New contributor




Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    My pwd is



    /home/john


    and need to create three folders, File1 File2 File3 in the Desktop folder. I have two choices.



    cd Desktop/
    mkdir File1..3


    or



    mkdir Desktop/File1 Desktop/File2 Desktop/File3


    Is there a way to go with the second choice without having to type the relative path (Desktop) each time ?



    Thanks










    share|improve this question









    New contributor




    Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      My pwd is



      /home/john


      and need to create three folders, File1 File2 File3 in the Desktop folder. I have two choices.



      cd Desktop/
      mkdir File1..3


      or



      mkdir Desktop/File1 Desktop/File2 Desktop/File3


      Is there a way to go with the second choice without having to type the relative path (Desktop) each time ?



      Thanks










      share|improve this question









      New contributor




      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      My pwd is



      /home/john


      and need to create three folders, File1 File2 File3 in the Desktop folder. I have two choices.



      cd Desktop/
      mkdir File1..3


      or



      mkdir Desktop/File1 Desktop/File2 Desktop/File3


      Is there a way to go with the second choice without having to type the relative path (Desktop) each time ?



      Thanks







      command-line






      share|improve this question









      New contributor




      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 5 mins ago









      steeldriver

      70.8k11115187




      70.8k11115187






      New contributor




      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 14 mins ago









      AnhtuAnhtu

      1




      1




      New contributor




      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Anhtu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes


















          2














          Try:



          mkdir Desktop/File1..3


          The above assumes that Desktop already exists. If it doesn't, then use:



          mkdir -p Desktop/File1..3




          share























            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
            );



            );






            Anhtu is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133921%2fcreating-multi-directory-on-desktop-best-practice%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Try:



            mkdir Desktop/File1..3


            The above assumes that Desktop already exists. If it doesn't, then use:



            mkdir -p Desktop/File1..3




            share



























              2














              Try:



              mkdir Desktop/File1..3


              The above assumes that Desktop already exists. If it doesn't, then use:



              mkdir -p Desktop/File1..3




              share

























                2












                2








                2







                Try:



                mkdir Desktop/File1..3


                The above assumes that Desktop already exists. If it doesn't, then use:



                mkdir -p Desktop/File1..3




                share













                Try:



                mkdir Desktop/File1..3


                The above assumes that Desktop already exists. If it doesn't, then use:



                mkdir -p Desktop/File1..3





                share











                share


                share










                answered 5 mins ago









                John1024John1024

                10.1k2635




                10.1k2635




















                    Anhtu is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    Anhtu is a new contributor. Be nice, and check out our Code of Conduct.












                    Anhtu is a new contributor. Be nice, and check out our Code of Conduct.











                    Anhtu is a new contributor. Be nice, and check out our Code of Conduct.














                    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%2f1133921%2fcreating-multi-directory-on-desktop-best-practice%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

                    Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                    fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

                    Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch