← All commands
Topic hub File Management
Windows Linux File Management Expanded guide File System

Windows move equivalent in Linux

Moves files to a new location, or renames them. In Linux, renaming IS moving.

Windows move
→
Linux equivalents
Debian/Ubuntu same command
mv
Fedora same command
mv
Arch same command
mv

Overview

What this command does

On Windows, "move" is used to move or rename files. On Linux, the closest practical mapping shown here is "mv". Moves files to a new location, or renames them. In Linux, renaming IS moving. This reference is grouped under File Management → File System.

Migration tip: In Linux there's <strong>no separate rename command</strong> — you just use <code>mv</code> with a different destination name. This works for both files and directories.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows move maps to mv for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

Practical tasks

Common use cases

Move or rename files

Moves files to a new location, or renames them. In Linux, renaming IS moving.

mv -i

Prompt before overwriting

mv -v

Verbose — show what moved where

mv -u

Move only if source is newer

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

mv file.txt Documents/
mv oldname.txt newname.txt
mv OldFolder NewFolder
mv -v *.log /var/log/archive/

Walkthrough

Examples with explanations

# Windows: move file.txt Documents\
mv file.txt Documents/          # move a file

# Windows: rename oldname.txt newname.txt
mv oldname.txt newname.txt     # rename a file
mv OldFolder NewFolder        # rename a directory
mv -v *.log /var/log/archive/ # move all .log files

Reference

Common options and variations

Command or optionUse
mv -iPrompt before overwriting
mv -vVerbose — show what moved where
mv -uMove only if source is newer
mv -nDo not overwrite existing files

Distro differences

Debian/Ubuntu vs Fedora vs Arch

Debian/Ubuntu, Fedora and Arch all use "mv" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu same command mv Same command on this distribution.
Fedora same command mv Same command on this distribution.
Arch same command mv Same command on this distribution.

Keep learning

Related File Management commands