Wednesday, 21 June 2023

Completely restore centOS 7 as it was on first installation (Factory Reset)


 

# 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]


*NOTE: You have to be careful not to undo the initial system install!

Source: Completely restore centOS 7 as it was on first installation ( Factory Reset) | WIKI CODE (wikicoode.com) 


0 komentar:

Post a Comment