rename issue with file /folder
Hi all,
the other day one of my friend asked me a question that he accidentally renamed a folder in ubuntu in /var/log and then later couldnt remember what was the original folder name before change. He did it from GUI. Never had this issue but also couldn't answer too. Anyone know how: any easy way? Thanks in advance. |
under hypnosis people tend to remember a lot of things accidentally
|
probably RPM should help you: each directory under /var/log should belong to some installed RPM, to find out the original name you can perform a file system integrity check with RPM
|
sorry, you are writing about Ubuntu (RHEL in your profile), then dpkg
|
Quote:
In general, its a very bad idea to run a GUI as root. Chances are that it should fix itself. You could check the contents of the files in Code:
/etc/logrotate.d |
You can do
Code:
$ ls -ltr /var/log |
All times are GMT -5. The time now is 11:32 AM. |