split example usage (#20164)

This commit is contained in:
Benabadji Mohammed Salim
2018-10-28 04:07:39 +01:00
committed by Christopher McCormack
parent 228f1a2d0f
commit 06fbd4c156

View File

@ -4,11 +4,16 @@ title: Bash mv
## Bash command: mv
**Moves files and folders.**
**Rename file.**
```
mv source target
mv source ... directory
mv <source> <target>
```
**Moves files and folders.**
```
mv <source> <path + filename>
```
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`