Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

A Quick Introduction to Unix/Moving Files

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Moving files mv (move) Suppose that you want to rename a file. In Unix, we talk about moving the file and the command that does it is mv. For example mv file1 file2 moves (or renames) file1 to file2. This differs from copying the file: you end up with only one file rather than two. You can move files across directories by specifying the pathname just as you can for the cp or copy command.