Add another use for `mv` command (#30)

This commit is contained in:
Diego 2017-04-06 18:39:33 +02:00 committed by Adnan Ahmed
parent 6d3d99bfaf
commit 2cfa591650
1 changed files with 5 additions and 0 deletions

View File

@ -222,6 +222,11 @@ mv filename1 filename2
```
Where `filename1` is the source path to the file and `filename2` is the destination path to the file.
Also it can be used for rename a file.
```bash
mv old_name new_name
```
### q. `rm`
Removes a file. Using this command on a directory gives you an error.
`rm: directory: is a directory`