How do you copy a directory with many files and folders into
another directory?

Answer Posted / ashok jayan

cp -rf <source_dir> <dest_dir>

Note: r - Recursively, f - Forcefully

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we use grep command in unix?

608


Why is it called grep?

554


What is s and g in sed command?

553


What is nr in awk command?

594


What is awk command used for?

596






Which command can you use to find the currently running process in unix server?

581


What is the difference between awk and grep?

555


Why is shebang used?

591


How to use grep command to list find the records of a file containing 10 different strings?

643


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

631


What is the use of finger command?

590


What is command statement?

538


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

582


What do chown command do?

527


What is grep short for?

548