How can we copy an entire directory under another directory?

🎲 Try a Random Question  |  Total Questions in Quiz: 96  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Unix Basics Practice Test: Handling Ordinary Files — practice the complete quiz, review flashcards, or try a random question.

Quiz questions on cat command, cp command, rm and mv command for deleting and renaming files, comparing files, wc command for counting file data, compressing and archiving files. Ordinary files are the most common type of file in Unix. They contain data that is not associated with any special device or process. Ordinary files can be created, edited, and deleted using standard Unix commands. Here are some of the commands that you can use to manage ordinary files: cat: - Displays the contents of a file. cp: - Copies a file to another location. mv: - Moves or renames a file. rm: - Deletes... Show more

How can we copy an entire directory under another directory?