Opentopia Directory Encyclopedia Tools

MV

Encyclopedia : M : MV : MV : MV



 

The correct title of this } is }}}. The initial letter is capitalized due to [Naming conventions #Lower case first lettertechnical restrictions].
[[wikibooks:|Wikibooks ]] has more about this subject:
[[wikibooks::Guide to UNIX commands: File system utilities#mv|Guide to UNIX commands: File system utilities#mv]]

mv (short for move) is a Unix command that moves a file from one place to another. The original file is deleted, and the new file may have the same or a different name.

Examples:

mv myfile mynewfilename    renames a file
mv myfile /myfile          moves 'myfile' from the current directory to the root directory
mv myfile dir/myfile       moves 'myfile' to 'dir/file' relative to the current directory
mv myfile /copy_of_myfile  moves 'myfile' to / and renames it to copy_of_myfile
mv --help                  shows a very concise help about the syntax of the command
man mv                     prints an extensive user manual for 'mv' in the terminal

See also

External links

Unix command line programs[ view][ talk][ edit] )
File and file system management: cat | chdir/cd | chmod | chown | chgrp | cp | du | df | fdupes | file | fsck | ln | ls | lsof | mkdir | more | mount | mv | pwd | rcp | rm | rmdir | split | touch | tree
Process management: anacron | at | chroot | cron/crontab | kill | nice | ps | sleep | time | timex | top | renice | wait
User Management/Environment: env | finger | id | locale | mesg | passwd | su | sudo | uname | uptime | w | who | write
Text processing: awk | cut | diff | ex | head | iconv | join | less | more | nkf | paste | sed | sort | tail | tr | uniq | wc | xargs
Shell programming: echo | expr | unset Printing: lp
Communications:
inetd | netstat | ping | rlogin | traceroute
Searching:
egrep | fgrep | find | grep | strings
Miscellaneous:
banner | bc | cal | man | uname | wall | yes

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: