diff --git a/topics/linux/exercises/copy/solution.md b/topics/linux/exercises/copy/solution.md index c9d2b8c..da35926 100644 --- a/topics/linux/exercises/copy/solution.md +++ b/topics/linux/exercises/copy/solution.md @@ -17,9 +17,8 @@ touch /tmp/x cp x ~/ cp x y mkdir files -cp x files -cp y files +mv x files | mv y files cp -r files copy_of_files mv copy_of_files files2 rm -rf files files2 -``` \ No newline at end of file +``` diff --git a/topics/linux/exercises/create_remove/README.md b/topics/linux/exercises/create_remove/README.md index ceffd33..c07d94e 100644 --- a/topics/linux/exercises/create_remove/README.md +++ b/topics/linux/exercises/create_remove/README.md @@ -5,10 +5,10 @@ 1. Create a file called `x` 2. Create a directory called `content` 3. Move `x` file to the `content` directory -4. Create a file insidethe `content` directory called `y` +4. Create a file inside the `content` directory called `y` 5. Create the following directory structure in `content` directory: `dir1/dir2/dir3` 6. Remove the content directory ## Solution -Click [here](solution.md) to view the solution. \ No newline at end of file +Click [here](solution.md) to view the solution. diff --git a/topics/linux/exercises/create_remove/solution.md b/topics/linux/exercises/create_remove/solution.md index 1cd8a58..1019727 100644 --- a/topics/linux/exercises/create_remove/solution.md +++ b/topics/linux/exercises/create_remove/solution.md @@ -5,7 +5,7 @@ 1. Create a file called `x` 2. Create a directory called `content` 3. Move `x` file to the `content` directory -4. Create a file insidethe `content` directory called `y` +4. Create a file inside the `content` directory called `y` 5. Create the following directory structure in `content` directory: `dir1/dir2/dir3` 6. Remove the content directory @@ -18,4 +18,4 @@ mv x content touch content/y mkdir -p content/dir1/dir2/dir3 rm -rf content -``` \ No newline at end of file +```