Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started