Linux Move Files With mv Command

Move Files With Linux mv command

Unlike the cp command, the mv command moves a file and the original file gets removed.

Moving a File
The command below will move the file from the current working directory into the username folder which is located within the home directory. 

 root@vps [/]# mv newtest.txt /home/username/