Real Time Linux Hands on Problems

 



cp


a. It is a command which is used to copy the files or directories from one place to another place.


Example:


~$ cp Topics.odt /home/anil/Downloads/

~$


Real Time Problem: Suppose you are working in a company and your manager ask you to copy the file in one more location. At this point of time above example help you.


b. We can preserve the permission of the files or directories while copying from source to destination.


Example:


~$ cp -dR --preserve=all Text.txt /home/anil/Downloads


Real Time Problem: Suppose you are working in a company and your manager ask you to copy the file in to another location by preserving the ownership and permission of the file. At this point of time above example help you.


For more problems please click on below link :

https://www.amazon.com/dp/B07LDF8Y3B

https://www.amazon.com/dp/B07Q3263Q4


Comments

Popular posts from this blog

Python & Shell Scripting Real Time Course Book & Videos

Top Five Devops Technical Interview QA Books

Linux-Command Hands-On (DF)