How to forcefully overwrite a file while using Linux mv command?

You can use Linux mv command with -f or –force option to overwrite a file. The destination file must exist or mv command will rename the source file.

Leave a Reply