The 'rm' command does not employ the Trashcan mechanism of Unity. You may be able to employ some of the tools mentioned in How to recover deleted files?, however it might already be too late - one of the first steps in a situation like this is "stop using the hard disk"
First you should mount the partition in read only mode to prevent the OS accidentally overwriting the deleted content.
You could try it with PhotoRec. Although there is "Photo" in the title it can recover any files. You need a second partition in which PhotoRec then writes the recovered files. Because it can't check how recent the file was deleted, it will recover files which you might have deleted ages ago (depending on the usage of the drive).
The 'rm' command does not employ the Trashcan mechanism of Unity. You may be able to employ some of the tools mentioned in How to recover deleted files?, however it might already be too late - one of the first steps in a situation like this is "stop using the hard disk"
First you should mount the partition in read only mode to prevent the OS accidentally overwriting the deleted content.
You could try it with PhotoRec. Although there is "Photo" in the title it can recover any files. You need a second partition in which PhotoRec then writes the recovered files. Because it can't check how recent the file was deleted, it will recover files which you might have deleted ages ago (depending on the usage of the drive).