In: Computer Science
Lab – Linux Fundamentals Instructions: Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following tasks based on the Linux Fundamentals lecture. For this lab, take screenshots for all major steps completed to illustrate that each task was successfully completed (the same method as would be used for other labs).
9. Display your current directory in the terminal
10. Display your current directories contents including the inode value and permissions for each file and directory
11. Without using an editor, create a file with no contents called billy_bobs_diary.txt in the user BillyBob’s home directory
12. Edit your file using nano or vi and add the following string into the contents of the file: “This is my super-duper secret diary. No one shall read my diary for as long as I live. I will encrypt this with the moistest strongest encryption that is known to man. P.S. I really love kitten memes”
13. Rename the file to secret_file.txt using the command line
14. Move the file, secret_file.txt, to a directory named secret located in /opt
15. Create a copy of the file, secret_file.txt, and place it in BillyBob’s home directory
16. On the file, secret_file.txt, located in /opt/secret, change the file permissions so that all users have read/write access, but not execute
17. After you get weirded out that your professor just did that for fun, change the permissions so that the owning user has r/w, the owning group has r/w, and all other users have read only access
18. Display the contents of secret_file.txt via the command line without using a text editor
19. Append the following line to the document without using a text editor: “I have hidden this file so cleverly, that no one will ever find it. My secrets are safe here.”
20. Using the command line, clone the GitHub repository below into the /opt directory. Use the ReadMe to introduce yourself to the mystery scenario. After familiar with the scenario and the instructions, solve the mystery and take snapshots along the way, especially when you figure out who done it! GitHub Repository: https://github.com/veltman/clmystery
Answer 9
***********
Answer 10
************
Answer 11
************
Answer 12
*************
We are allowed to do only 4 exercise out of any given.
if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)