extundelete is a Linux utility that can recover deleted files from an ext3 or ext4 partition, which is able to undelete files, as long as the ext3 or ext4 filesystems have an internal journal. External journals are not yet supported.
If you delete a file and want to recover it, do not save any more data to the partition with the deleted file for any reason! Doing so may overwrite your deleted data and sabotage any recovery effort. Typically, background processes will periodically write to disk, so work quickly until the partition is unmounted.
More info on compiling, using and downloading extundelete, on it's website: http://extundelete.sourceforge.net/
You may also want to read about recovering deleted files in Linux with Scapel and Foremost.
If you delete a file and want to recover it, do not save any more data to the partition with the deleted file for any reason! Doing so may overwrite your deleted data and sabotage any recovery effort. Typically, background processes will periodically write to disk, so work quickly until the partition is unmounted.
More info on compiling, using and downloading extundelete, on it's website: http://extundelete.sourceforge.net/
You may also want to read about recovering deleted files in Linux with Scapel and Foremost.