---
layout: page
category-page: fs
category-title: FileSystem
tags: directory list move rename
author: Mattia Hijman
title: mv
previous-page: pages/fs/mkdir.html
next-page: pages/fs/pwd.html
---
The mv
command is used to move a file from a given path to another.
It can also be used to rename a file by moving it into the same directory,
but with a different name.
It stands for MoVe.
mv [-finv] source target