Linux CLI - File and Directory Operations
Which of the following is the correct syntax to copy a directory named
docs and all its contents to backup?docs and all its contents to backup?-r option tells cp to copy directories and their contents recursively.-d is for preserving links, -f forces overwrite but doesn't copy directories recursively, and no option copies only files.-r to copy folders [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions