Formatting Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












Is there a way to restart my OS (18.04.1) as if I had just installed it (it's a partition) without having to uninstall it and installing it again??



I mean, like to format the computer and start over with all the default settings.



I did something to the bash and, though everything seems to work there are done small details that annoy me.










share|improve this question

















  • 1




    What is annoying you about your bash settings? Might be easier to fix that.
    – pwaterz
    4 hours ago














up vote
2
down vote

favorite












Is there a way to restart my OS (18.04.1) as if I had just installed it (it's a partition) without having to uninstall it and installing it again??



I mean, like to format the computer and start over with all the default settings.



I did something to the bash and, though everything seems to work there are done small details that annoy me.










share|improve this question

















  • 1




    What is annoying you about your bash settings? Might be easier to fix that.
    – pwaterz
    4 hours ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











Is there a way to restart my OS (18.04.1) as if I had just installed it (it's a partition) without having to uninstall it and installing it again??



I mean, like to format the computer and start over with all the default settings.



I did something to the bash and, though everything seems to work there are done small details that annoy me.










share|improve this question













Is there a way to restart my OS (18.04.1) as if I had just installed it (it's a partition) without having to uninstall it and installing it again??



I mean, like to format the computer and start over with all the default settings.



I did something to the bash and, though everything seems to work there are done small details that annoy me.







18.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 5 hours ago









C. Alexander

163




163







  • 1




    What is annoying you about your bash settings? Might be easier to fix that.
    – pwaterz
    4 hours ago












  • 1




    What is annoying you about your bash settings? Might be easier to fix that.
    – pwaterz
    4 hours ago







1




1




What is annoying you about your bash settings? Might be easier to fix that.
– pwaterz
4 hours ago




What is annoying you about your bash settings? Might be easier to fix that.
– pwaterz
4 hours ago










2 Answers
2






active

oldest

votes

















up vote
2
down vote













You may not have to reinstall. First thing is to ascertain what you did to your bash and if it was system wide or just for your user ID.



Create a new user ID and see if it works normally. If so there is no damage done to 18.04 just for your old user ID.



Ubuntu keeps a "skeleton" of most configurations that get copied to when a new user ID is created. For .bashrc it is in /etc/skel/.bashrc:



$ llocate .bashrc
ACCESS OWNER GROUP SIZE MODIFIED NAME (updatdb last ran: 2018-10-06 10:30:06)
-rw-r--r-- root root 2188 Aug 31 2015 /etc/bash.bashrc
-rw-r--r-- root root 3771 Aug 31 2015 /etc/skel/.bashrc
-rw-r--r-- rick rick 7522 Sep 30 10:10 /home/rick/.bashrc
-rw-r--r-- rick rick 7492 Sep 30 10:09 /home/rick/.bashrc~


If you modified .bashrc and damaged it there may be a backup called .bashrc~ which you can copy over top.






share|improve this answer



























    up vote
    1
    down vote













    First backup all data and install the OS over 18.04 again using bootable USB or something like that






    share|improve this answer




















    • good answer imo.
      – beertempest
      17 mins ago










    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',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    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%2f1081460%2fformatting-ubuntu-18-04%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    You may not have to reinstall. First thing is to ascertain what you did to your bash and if it was system wide or just for your user ID.



    Create a new user ID and see if it works normally. If so there is no damage done to 18.04 just for your old user ID.



    Ubuntu keeps a "skeleton" of most configurations that get copied to when a new user ID is created. For .bashrc it is in /etc/skel/.bashrc:



    $ llocate .bashrc
    ACCESS OWNER GROUP SIZE MODIFIED NAME (updatdb last ran: 2018-10-06 10:30:06)
    -rw-r--r-- root root 2188 Aug 31 2015 /etc/bash.bashrc
    -rw-r--r-- root root 3771 Aug 31 2015 /etc/skel/.bashrc
    -rw-r--r-- rick rick 7522 Sep 30 10:10 /home/rick/.bashrc
    -rw-r--r-- rick rick 7492 Sep 30 10:09 /home/rick/.bashrc~


    If you modified .bashrc and damaged it there may be a backup called .bashrc~ which you can copy over top.






    share|improve this answer
























      up vote
      2
      down vote













      You may not have to reinstall. First thing is to ascertain what you did to your bash and if it was system wide or just for your user ID.



      Create a new user ID and see if it works normally. If so there is no damage done to 18.04 just for your old user ID.



      Ubuntu keeps a "skeleton" of most configurations that get copied to when a new user ID is created. For .bashrc it is in /etc/skel/.bashrc:



      $ llocate .bashrc
      ACCESS OWNER GROUP SIZE MODIFIED NAME (updatdb last ran: 2018-10-06 10:30:06)
      -rw-r--r-- root root 2188 Aug 31 2015 /etc/bash.bashrc
      -rw-r--r-- root root 3771 Aug 31 2015 /etc/skel/.bashrc
      -rw-r--r-- rick rick 7522 Sep 30 10:10 /home/rick/.bashrc
      -rw-r--r-- rick rick 7492 Sep 30 10:09 /home/rick/.bashrc~


      If you modified .bashrc and damaged it there may be a backup called .bashrc~ which you can copy over top.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        You may not have to reinstall. First thing is to ascertain what you did to your bash and if it was system wide or just for your user ID.



        Create a new user ID and see if it works normally. If so there is no damage done to 18.04 just for your old user ID.



        Ubuntu keeps a "skeleton" of most configurations that get copied to when a new user ID is created. For .bashrc it is in /etc/skel/.bashrc:



        $ llocate .bashrc
        ACCESS OWNER GROUP SIZE MODIFIED NAME (updatdb last ran: 2018-10-06 10:30:06)
        -rw-r--r-- root root 2188 Aug 31 2015 /etc/bash.bashrc
        -rw-r--r-- root root 3771 Aug 31 2015 /etc/skel/.bashrc
        -rw-r--r-- rick rick 7522 Sep 30 10:10 /home/rick/.bashrc
        -rw-r--r-- rick rick 7492 Sep 30 10:09 /home/rick/.bashrc~


        If you modified .bashrc and damaged it there may be a backup called .bashrc~ which you can copy over top.






        share|improve this answer












        You may not have to reinstall. First thing is to ascertain what you did to your bash and if it was system wide or just for your user ID.



        Create a new user ID and see if it works normally. If so there is no damage done to 18.04 just for your old user ID.



        Ubuntu keeps a "skeleton" of most configurations that get copied to when a new user ID is created. For .bashrc it is in /etc/skel/.bashrc:



        $ llocate .bashrc
        ACCESS OWNER GROUP SIZE MODIFIED NAME (updatdb last ran: 2018-10-06 10:30:06)
        -rw-r--r-- root root 2188 Aug 31 2015 /etc/bash.bashrc
        -rw-r--r-- root root 3771 Aug 31 2015 /etc/skel/.bashrc
        -rw-r--r-- rick rick 7522 Sep 30 10:10 /home/rick/.bashrc
        -rw-r--r-- rick rick 7492 Sep 30 10:09 /home/rick/.bashrc~


        If you modified .bashrc and damaged it there may be a backup called .bashrc~ which you can copy over top.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 3 hours ago









        WinEunuuchs2Unix

        36.9k760138




        36.9k760138






















            up vote
            1
            down vote













            First backup all data and install the OS over 18.04 again using bootable USB or something like that






            share|improve this answer




















            • good answer imo.
              – beertempest
              17 mins ago














            up vote
            1
            down vote













            First backup all data and install the OS over 18.04 again using bootable USB or something like that






            share|improve this answer




















            • good answer imo.
              – beertempest
              17 mins ago












            up vote
            1
            down vote










            up vote
            1
            down vote









            First backup all data and install the OS over 18.04 again using bootable USB or something like that






            share|improve this answer












            First backup all data and install the OS over 18.04 again using bootable USB or something like that







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 4 hours ago









            Arjun K Shibu

            687




            687











            • good answer imo.
              – beertempest
              17 mins ago
















            • good answer imo.
              – beertempest
              17 mins ago















            good answer imo.
            – beertempest
            17 mins ago




            good answer imo.
            – beertempest
            17 mins ago

















             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1081460%2fformatting-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Long meetings (6-7 hours a day): Being “babysat” by supervisor

            Confectionery