The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation. There is no undo option after you delete files in the command line. If you are afraid of deleting the wrong file, use the interactive mode with option -i, which gives you an additional prompt to confirm the action.
2 Comments
Sort: