Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions