Linux mv -i Command: Move the Source File to Target File

In this tutorial, we will introduce how to use mv -i command to move files in linux.

Linux mv -i Command - Move the Source File to Target File for Beginners

mv –i sourceFile targetFile

Here is an example:

mv -i myfile anotherfile

Run this code, you will see:

Linux mv -i Command - Move the Source File to Target File