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

Help on this linux questions Thanks Cp, to describe the effects of the following

ID: 3581342 • Letter: H

Question

Help on this linux questions

Thanks

Cp, to describe the effects of the following switches. Compare the changes to output of each switch with the output of the command without any switch. a.) -R b.) -p c.) -Rp d.) -pR e.) -pR Look up the following switches for the mv command in the system manuals. Use the results in your homework's procedure and the output of the manual command, man mv, to describe the effects of the following switches. Compare the changes to output of each switch with the output of the command without any switch. a.) -i b.) -version c.) -v d.) -f

Explanation / Answer

cp.

a) -R: copy directories recursively

b) -p: preserve the specified attributes (default: mode,ownership,time
              stamps), if possible additional attributes: context, links,
              xattr, all

c) copy recursively using keeping owner and permissions intact

d) copy recursively using keeping owner and permissions intact

e) copy recursively using keeping owner and permissions intact

mv

a) -i: prompt before overwrite

b) -version: no such flag

c) -v: print source and destination files

d) -f: force move by overwriting destination file without prompt