I ran "sudo updatedb" command, it didn't take much time and returned within 2 to 3 seconds. After that ran "locate filename" but it is not showing any file path, I ran the same command after a reboot could not found any path to the file. But before running updatedb command atleast it was showing file path even it was unable to find the files using find command. And also ran "ls -la /home/username/Desktop" still there is no files. I just wanted to ensure that the files/folders which were stored on the desktop has got deleted completely?
Because before running updatedb command also, if I run "du -sh Desktop or du -sh Downloads" command it was showing 4k as size.
Could you please guide me, how can I retrieve my files?
Originally Posted by jdkaye
You have to update the database before using the locate command. From a console issue this command
Supply your own password. Now locate should be up to date.