Question: Create a content of your own first. Any content in word - could be a list of things or letter or items, then complete the
Create a content of your own first. Any content in word - could be a list of things or letter or items, then complete the following:
Manipulate files.
Change your current working directory to COP3353-temp.
Create a new subdirectory called assign2 in COP3353-temp.
Create a new file called MyFile.txt using the touch command and insert two lines into the file.
The first line should be a sentence that tells me your favorite movie.
The second line should be a sentence that tells me your favorite food.
Display the contents of the file MyFile.txt to the standard output (screen).
Copy the file MyFile.txt to directory assign1 and rename it to t_1.txt.
Change your working directory to assign1.
Make a copy of t_1.txt with the name t_2.txt (in the same directory).
Display the contents of the directory assign1.
Copy the t_1.txt file to directory assign2.
Display the contents of the directory assign2.
Delete the file t_1.txt in the directory assign1.
Display the contents of the directory assign1.
Provide screenshots of each output display
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
