From 2cfa591650e8d76126481990d473288d4b2e107f Mon Sep 17 00:00:00 2001 From: Diego Date: Thu, 6 Apr 2017 18:39:33 +0200 Subject: [PATCH] Add another use for `mv` command (#30) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 95c399c..37c44d3 100644 --- a/README.md +++ b/README.md @@ -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`