Creating multi directory on Desktop best practiceQuick 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`?

How do credit card companies know what type of business I'm paying for?

Will users know a CardView is clickable?

Digital signature that is only verifiable by one specific person

I have found ports on my Samsung smart tv running a display service. What can I do with it?

How can I detect if I'm in a subshell?

How can the US president give an order to a civilian?

How did the European Union reach the figure of 3% as a maximum allowed deficit?

1960s sci-fi anthology with a Viking fighting a U.S. army MP on the cover

How to ask if I can mow my neighbor's lawn

High-end PC graphics circa 1990?

What is the color associated with lukewarm?

How "fast" does astronomical events happen?

How to search for Android apps without ads?

Explicit direct #include vs. Non-contractual transitive #include

Co-worker is now managing my team. Does this mean that I'm being demoted?

100-doors puzzle

Background for black and white chart

Lead the way to this Literary Knight to its final “DESTINATION”

Leveraging cash for buying car

How to write a nice frame challenge?

Why can't we feel the Earth's revolution?

How do I run a script as sudo at boot time on Ubuntu 18.04 Server?

Does knowing the surface area of all faces uniquely determine a tetrahedron?

Are there any super-powered aliens in the Marvel universe?



Creating multi directory on Desktop best practice


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






























    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


























      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
















      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















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 14 at 22:55









      steeldriver

      74k11122200




      74k11122200










      asked Apr 14 at 22:46









      AnhtuAnhtu

      1




      1




















          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|improve this answer























            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%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|improve this answer



























              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|improve this answer

























                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|improve this answer













                Try:



                mkdir Desktop/File1..3


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



                mkdir -p Desktop/File1..3






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 14 at 22:55









                John1024John1024

                10.4k2738




                10.4k2738



























                    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%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

                    Tamil (spriik) Luke uk diar | Nawigatjuun

                    Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

                    Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?