answersLogoWhite

0


Best Answer

In unix mv command is used to 'move' a file or folder from one location to another. It can also be used for renaming a file or folder. For eg: to change the name of a file 'sample.txt' to 'testfile.txt', mv sample.txt testfile.txt Enter 'mv --help' or 'man mv' in the shell prompt for the manual page of mv command.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: WHAT IS mv command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the mv command in Unix?

The mv command is used to move a file or directory to another location. Its syntax ismv target destinationFor example:mv myfile /home/user/mystuff


What is the command to rename a given file in UNIX?

mv dir1 new_dir mv file file1 rename / move a file or directory


What command do you use to rename the old system file instead of copying it?

For Linux, use the 'mv' command, which is a rename


Which command is used to move a file?

The command MV is used to move a file in simple Linux Code. This command will move files and directories from one spot to another spot. To move a file, one would simply type in the letters MV before its name.


What is the -i command in Linux?

It is not a command. It is an option for a command. Depending on the command it can modify the actions taken.For cp, mv and rm it makes the command interactive (are you sure). For ls it shows the inodes of files.


What is the DOS command to change the name of a file?

we may use << ( redirection) operator it will append the data of file........


How do you rename a directory in UNIX?

You rename a directory the same way you rename a file. Use the 'mv' command to rename it.


What happends when you give the command mv to do done if the file already exist?

it will give you an error that the file already sxists


What does the MV in MV photon mean?

The MV in MV photon means megavolt


What happens when you give the following command mv to do done if the file named done already exist?

the cp command would copy "do" over "done" if this isn't the behavior you want, you can do "cp -n" to not overwrite if "done" exists, or "cp -i" to prompt you whether you want to overwrite or not.


What is mv unit?

mV


When was .mv created?

.mv was created in 1996.