Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Mv (Unix)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Shell command for moving files}} {{Lowercase title}} {{Infobox software | name = mv | author = [[Ken Thompson]], [[Dennis Ritchie]]<br />([[AT&T Bell Laboratories]]) | developer = Various [[open-source software|open-source]] and [[commercial software|commercial]] developers | released = {{Start date and age|1971|11|3}} | latest release version = | latest release date = | operating system = [[Unix]], [[Unix-like]], [[Inferno (operating system)|Inferno]], [[IBM i]] | platform = [[Cross-platform]] | genre = [[Command (computing)|Command]] | license = [[coreutils]]: [[GPLv3]] | website = }} <code>'''mv'''</code> is a [[shell (computing)|shell]] [[command (computing)|command]] for renaming and moving [[computer file|files]] and [[directory (computing)|directories]]. If both items are on the same [[file system]], the command renames; otherwise items are copied to the destination and the old items are removed (more specifically [[unlink (Unix)|unlinked]]). To move between two directories, the user must have write permission for both because the command modifies the content of both. For a rename, an item's timestamp is not modified. On [[Unix]] implementations derived from [[AT&T Unix]], <code>[[cp (Unix)|cp]]</code>, <code>[[ln (Unix)|ln]]</code> and <code>mv</code> are implemented as a single program with [[hard-linked]] binaries.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)