3
votes
2answers
8k views

How to “undo” in command prompt?

If I have done some major change, for example renamed some files etc, how can I roll back the change? Is there a command that does this?
18
votes
11answers
12k views

Undo the Linux trash command

Can we undo operations done in a terminal, for example, file deletion through rm? Solutions obtained: Aliasing Undelete utilities Backup utilities LibCrash Versioning (FUSE)