2

so I accidentally ran 'sudo rm -f *' within my home directory. Should I worry about it? I did I delete hidden files? can I get it back? or did I just deleted empty folders(pictures, music,etc)?

edit: this is a fairly new install, so i didnt have any pictures, songs, etc. Also, it is a ext2 partition

alme1304
  • 243

2 Answers2

2

rm -f * would not have deleted your hidden files, meaning your settings for the most part should be safe. You can verify by:

ls -a ~/

Is this a new install, or did you have files that you need restored? If you did lose some photos, music, etc. here is a link to some more information on recovery: How to recover deleted files?

reverendj1
  • 16,403
1

You will lose all use settings and browser profiles, as well as any downloads or files you specifically saved there. Next time you login, and use programs that lost their configuration files, they will create new ones, albeit with the default settings.

In a nutshell: You would only be worried about files you deliberately put in your home directory and application settings.

nanofarad
  • 20,906