From 06fbd4c15659c0452993a6f11c3f3eb01a49efea Mon Sep 17 00:00:00 2001 From: Benabadji Mohammed Salim Date: Sun, 28 Oct 2018 04:07:39 +0100 Subject: [PATCH] split example usage (#20164) --- guide/english/bash/bash-mv/index.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/guide/english/bash/bash-mv/index.md b/guide/english/bash/bash-mv/index.md index 0a1e24ae77..f6384e50b7 100644 --- a/guide/english/bash/bash-mv/index.md +++ b/guide/english/bash/bash-mv/index.md @@ -4,11 +4,16 @@ title: Bash mv ## Bash command: mv -**Moves files and folders.** +**Rename file.** ``` -mv source target -mv source ... directory +mv +``` + + +**Moves files and folders.** +``` +mv ``` The first argument is the file you want to move, and the second is the location to move it to. It can also be used to rename a file, by inputting 2 file names as parameters, like so: `mv originalFilename.txt newFilename.txt`