Skip to content

Commit 2cfa591

Browse files
diegosanzAdnan Ahmed
authored and
Adnan Ahmed
committed
Add another use for mv command (Idnan#30)
1 parent 6d3d99b commit 2cfa591

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,11 @@ mv filename1 filename2
222222
```
223223
Where `filename1` is the source path to the file and `filename2` is the destination path to the file.
224224

225+
Also it can be used for rename a file.
226+
```bash
227+
mv old_name new_name
228+
```
229+
225230
### q. `rm`
226231
Removes a file. Using this command on a directory gives you an error.
227232
`rm: directory: is a directory`

0 commit comments

Comments
 (0)