mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-25 01:41:36 +00:00
Fix two problems
This commit is contained in:
parent
2b92b1ee40
commit
a051a774b0
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ We did not only move `friend3.txt`. We did also give it a new name in the destin
|
|||
|
||||
What if our house is not really _happy_ anymore since a loud friend did move in? Lets remove that loud friend!
|
||||
|
||||
Enter `mv happy_house` and then `rm loud_friend.txt`. You will not see any output, but lets see what has changed in the directory:
|
||||
Enter `cd happy_house` and then `rm loud_friend.txt`. You will not see any output, but lets see what has changed in the directory:
|
||||
|
||||
```console
|
||||
$ ls happy_house
|
||||
|
@ -385,7 +385,7 @@ The usage of `../..` or even more dots like `../../..` is not recommended since
|
|||
|
||||
What we have just learned about paths does not only apply to `cp`, but also to `ls`, `mkdir`, `mv` and other commands that deal with paths.
|
||||
|
||||
One thing has to be mentioned about `cp`: To copy directories instead of just files, use the option/flag `-r` to copy recursively like with `mv`.
|
||||
One thing has to be mentioned about `cp`: To copy directories instead of just files, use the option/flag `-r` to copy recursively like with `rm`.
|
||||
|
||||
### Terminal shortcuts
|
||||
|
||||
|
|
Loading…
Reference in a new issue