answersLogoWhite

0

What is the mv command in Unix?

Updated: 11/10/2022
User Avatar

Wiki User

14y ago

Best Answer

The mv command is used to move a file or directory to another location. Its syntax is

mv target destination

For example:

mv myfile /home/user/mystuff

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the mv command in Unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 IS mv command?

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.


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 command do you use to make a file hidden in Unix?

+h The above answer is incomplete and incorrect; "normally hidden" files in Unix merely start with the '.' character and are not normally shown by the ls command. Use the 'mv' to rename it if it doesn't start with a period.


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

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


What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


Brief description of format command in unix?

There is no standard 'format' command in Unix.


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


Which is the most commonly used command for referencing detailed information about a particular command in UNIX?

In Unix, use the 'man' command.


What is the Unix command to check to see who is logged in?

The "who" command.


What is the command to get the Unix version?

cat /proc/version The above answer will only work on certain systems. For most Unix systems, use the 'uname' command to get the Unix version. AIX uses the oslevel command.


Which command is the UNIX equivalent of the windows command nslookup?

dig