Updated format to be more consistent (#24178)
Changed the usage section to be more consistent with the rest of the directory, also added a link to SS64 for further details.pull/28217/head^2
parent
487bf5dd4c
commit
43a0705a91
|
@ -4,16 +4,13 @@ title: Bash mv
|
|||
|
||||
## Bash command: mv
|
||||
|
||||
**Rename file.**
|
||||
The mv command is used to move files and folders.
|
||||
|
||||
```
|
||||
mv <source> <target>
|
||||
```
|
||||
### Usage
|
||||
|
||||
|
||||
**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`
|
||||
|
@ -29,4 +26,5 @@ This command is capable of modifying many files at once with ease. This can be
|
|||
|
||||
### More Information:
|
||||
* [Wikipedia](https://en.wikipedia.org/wiki/Mv)
|
||||
* [SS64](https://ss64.com/bash/mv.html)
|
||||
* [Man pages](http://man7.org/linux/man-pages/man1/mv.1.html)
|
||||
|
|
Loading…
Reference in New Issue