How do I undo a cp command in Unix?

How do I undo a cp command in Unix?
Answer
There is no way to undo these. Just be happy that you ran cp , not rm . As for the future, if you are not moving/removing/copying too many files, -i switch will turn it into “interactive” mode, asking for confirmation before each action.
 

Tìm kiếm

Back
Top