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.

16m read timeFrom itsfoss.com
Post cover image
Table of contents
Essential Ubuntu CommandsThere’s Always More …
2 Comments

Sort: