What are the UNIX commands for each of these steps?
1. Copy all the files from the Files directory in my user
account (user305) to your Files directory
2. Redirect echo step 11 to mark this step in the lab3.txt
file
3. Display the directories and sub-directories including files so I
can verify all the files were copied.
4. Redirect the above step to the lab3.txt file
5.. Copy only the following files from your Files directory to the
Classes directory:
Budget.doc, Cargo.doc, Sales.xls
6. Copy only the following files from your Files directory to the
ITN106 directory:
Newpump.jpg, Oldpump.jpg
1. $ cp -r user305 Files
:- copy a directory and all its contents to Files.
2. $ echo "step 11 \"lab3.txt\" "
:- Redirect echo step 11 to mark this step in the lab3.txt file.
3. $ ls /user305/Files
:- Display the directories and sub-directories including files.
4. $ ls /lab3.txt
:- display files in lab3.text.
5. $ cp Files_Budget.doc Files_Cargo.doc Files_Sales.xls / Classes
Copy only the following files from your Files directory to the
Classes directory:
Budget.doc, Cargo.doc, Sales.xls
6. cp*.jpg /ITN106 [If only these two jpg files are present in the cureent files directory]
or $ cp Newpump.jpg Oldpump.jpg / ITN106
Copy only the following files from your Files directory to the
ITN106 directory:
Newpump.jpg, Oldpump.jpg
:-
Get Answers For Free
Most questions answered within 1 hours.