mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-21 19:18:02 +00:00
Fix a typo
This commit is contained in:
parent
ef23a63157
commit
73fe408b4f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ Enter the command `cd ..` to go one directory back. The two dots `..` refer to t
|
|||
|
||||
Now that you are back in `~`, enter `mv empty_house happy_house`. Now enter `ls` again. You can see that `empty_house` does not exist anymore. It was renamed to `happy_house` (_since it has at least one friend now_). `mv` stand for _move_.
|
||||
|
||||
Moving is not the same as renaming, right? Well, `mv` does move a file or directory to a new destination with the possiblity to give the file or directory a new name on the destination. So we did _move_ the directory `empty_house` to the same location, but we did give it a new name.
|
||||
Moving is not the same as renaming, right? Well, `mv` does move a file or directory to a new destination with the possibility to give the file or directory a new name on the destination. So we did _move_ the directory `empty_house` to the same location, but we did give it a new name.
|
||||
|
||||
I know, it is tricky. Lets take a look at an example that does actually _move_. Enter the command `touch friend2.txt friend3.txt`. This will create two new files at the same time. This way, you don't have to type `touch friend2.txt` **and** `touch friend3.txt`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue