Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can someone help me out with the following? It\'s Unix-related, and I\'m using t

ID: 3755530 • Letter: C

Question

Can someone help me out with the following? It's Unix-related, and I'm using the putty application to enter all of the answers. Thank you!

-----

Create directories proj1and proj2 under your home directory.

Create directories memosand reports under proj1.

Create directories costs and time under proj2.

Create a file called mess1. See if the command touch will create the file.

Put copies of the file in each of the six directories created above.

Use ls –R from your home directory directed to a file. (ls -R > part1)

Print the file using lpr command.

Remove the mess1file from under costs.

Remove directory reports.

Rename the file mess1under memosto mess2.

Use ls –R redirected to a file from your home directory to list the entire directory tree. (ls -R > part 2)

Explanation / Answer

Go to home directory : cd

1. create directory: mkdir proj1 proj2

2. Create directories memosand reports under proj1.:  

cd proj1

mkdir memos resports

3. Create directories costs and time under proj2.

cd This will return to home directory

cd proj2

mkdir costs time

4. Create a file called mess1

cd

touch mess1

5.  Put copies of the file in each of the six directories created above :

find proj1 -type d -exec cp mess1 {} ;

find proj2 -type d -exec cp mess1 {} ;

6. lpr file.txt -- this will print the file file.txt

7. Remove the mess1file from under costs.

rm proj2/costs/mess1

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote