File management · Question 1 of 12

Which command copies the directory project with all its contents to /backup?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • B cp -r project /backup

Explanation

Without -r (recursive), cp does not copy directories. -f only forces overwriting, -l creates hard links instead of copies.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications