Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have to create a directory in home directory and copy all files from a file to the newly created directory. The new directory is

I have to create a directory in home directory and copy all files from a file to the newly created directory.

The new directory is australia and the file that needs to be copied is ~/data/spam/australia

so what I did was:

mkdir australia

cp -r ~/data/spam/australia ~/enron-australia

But it doesn't seem like the code was running. It said that the directory called australia was running, so I did rm command for that and tried to make one again, but it says the same thing. The important part however is that I am correct on making the directory and copying all files to the new directory.

This is UNIX!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Lab Manual For Database Development

Authors: Rachelle Reese

1st Custom Edition

1256741736, 978-1256741732

Students also viewed these Databases questions