Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part 2: Open an Linux command prompt and execute the following steps. You must t

ID: 3751024 • Letter: P

Question

Part 2: Open an Linux command prompt and execute the following steps. You must type commands and capture screenshots for each step like you did in the previous steps. (2 points each)
1) Create Linux_1 folder/directory any place you like.
2) Create Linux_2 inside Linux_1 folder.
3) From inside Linux_1 folder, create a file named linux_1.txt (you must use vi or vim) and insert the content "CIT168 is hard but fun!" in the file.
4) From Linux_1 folder, copy linux_1.txt file to Linux_2 folder
5) Display the contents of linux_1.txt file from Linux_2 folder. You cannot use vi or any graphic visual editor like gedit to display the contents

Explanation / Answer

You can type this command in your linux machine and get the screenshots. Let me know if you have any doubt.

Commands:

1) $mkdir Linux_1
2) $cd Linux_1
3) $mkdir Linux_2
$vi linux_1.txt and paste "CIT168 is hard but fun!"
4) $cp linux_1.txt Linux_2/
5) $cat Linux_2/linux_1.txt

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote