Last active
October 4, 2017 17:19
-
-
Save tallesairan/c067a2ff5f074d35f7d42ce7cb23e0c9 to your computer and use it in GitHub Desktop.
restore centos to inital install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If everything was installed via the yum package manager, you can undo previous commands: | |
# Get all yum commands previously run | |
yum history list all | |
# Get the details of the command | |
yum history info [entry number] | |
# Undo each command top-down | |
yum history undo [entry number] | |
after the comands remove the traces and trash : | |
find / -name .DS_Store -print0 | xargs -0 rm -rf | |
--- | |
https://gist.github.com/tallesairan/e209d70bbaf7adabd63bcd4a5470ed75 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment