How to solve Lab for Unit 2
Part-1
Given Below are the screenshots of how your terminal would after run the commands given in the lab.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Part-2
For part-2 this is how moved all the animals into the correct place. First, be sure that you installed the tree command using "sudo apt install tree" so that you can access your files with it.
- For moving the animals into current pens, I used the rm commands to delete the files in the incorrect pens and used the touch command to create the correct files in the terminal.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
2.Then, I renamed some of the files in the folders to give them the correct animal name using the mv command.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
3.I also renamed the b1g_katz to big-cats pen using the mv command.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
-
I added missing animals into the pens by using the touch command to create new files.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
-
Finally, I used the rm command to remove the tourist file form reptiles.
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →