C++ CSS HTML Java JavaScript MySQL Oracle PERL PHP SQL Unix VBScript XHTML XML Сети
rpm -e and Config files
 

rpm -e and Config files

to /etc/skel/.bashrc (a config file), which was installed as part of the etcskel package. Later, we remove etcskel:
# rpm -e etcskel
#
        

But if we take a look in /etc/skel, look what's there:
# ls -al
.bashrc.rpmsave
drwxr-xr-x   2 root     root         1024 May 13 13:18 .xfm
#
        

Sure enough: .bashrc.rpmsave is a copy of your modified .bashrc file! Remember, however, that this feature only works with config files. Not sure how to determine which files RPM thinks are config files? Chapter 5 will show you how.

Главная