Formatting Ubuntu 18.04
Clash 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.
18.04
add a comment |Â
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.
18.04
1
What is annoying you about your bash settings? Might be easier to fix that.
â pwaterz
4 hours ago
add a comment |Â
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.
18.04
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
18.04
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
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
up vote
1
down vote
First backup all data and install the OS over 18.04 again using bootable USB or something like that
good answer imo.
â beertempest
17 mins ago
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered 3 hours ago
WinEunuuchs2Unix
36.9k760138
36.9k760138
add a comment |Â
add a comment |Â
up vote
1
down vote
First backup all data and install the OS over 18.04 again using bootable USB or something like that
good answer imo.
â beertempest
17 mins ago
add a comment |Â
up vote
1
down vote
First backup all data and install the OS over 18.04 again using bootable USB or something like that
good answer imo.
â beertempest
17 mins ago
add a comment |Â
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
First backup all data and install the OS over 18.04 again using bootable USB or something like that
answered 4 hours ago
Arjun K Shibu
687
687
good answer imo.
â beertempest
17 mins ago
add a comment |Â
good answer imo.
â beertempest
17 mins ago
good answer imo.
â beertempest
17 mins ago
good answer imo.
â beertempest
17 mins ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
What is annoying you about your bash settings? Might be easier to fix that.
â pwaterz
4 hours ago