linux cp directory recursive code example Example: copy folders linux cp -R source_dir destination_dir #example cp -R /etc /etc_backup