- To restore that which has been previously deleted, such as a text, file, or directory. If a file is in a trash can, it can be easily undeleted with a command. However, after a trash can is emptied, a special utility is necessary to recover such files. Also, a command which causes this function to be performed. Also called unerase.