0
votes
2answers
159 views

How can I recover from mistaken 'rm *'?

I just typed rm * in the wrong directory by mistake. I had the wrong terminal window highlighted. What are my options?
2
votes
2answers
8k views

is there an “undo” command on the unix comand line?

i get the feeling i'm gonna need it one day, like if i've just deleted something i shuldn't have, or renamed something and can't remember what it should be called etc.