161k views
5 votes
1) Write a command line that recursively copy the directories and files inside /etc to your home directory. g

User VolkerK
by
5.0k points

1 Answer

2 votes

Answer:

cp -R /etc /home

Step-by-step explanation:

The command statement above is a Linux command line statement used to copy the directories and subdirectories of the /etc folder.

The 'cp' command is used to conventionally copy files and folders but with the '-R' flag, the specified folder is copied recursively. To copy a folder to another recursively, use the syntax;

cp -R <source folder> <destination folder>

User Rahul Lodha
by
5.1k points