The Linux command to delete a directory and all the subdirectories and files in it is

a: rm - -recursive directory-name
b: rm - - r directory-name
c: rm - -all directory-name
d: rm - -sub directory-name
e: rm - -all


a: rm - -recursive directory-name

Computer Science & Information Technology

You might also like to view...

To overload the + operator, you would write a function named

a. overload + b. operator + c. function + d. operator.overload(+) e. None of these

Computer Science & Information Technology

Which of the following statements multiplies a variable by 16?

A. var << 2 B. var << 4 C. var << 16 D. var >> 2 E. var >> 4

Computer Science & Information Technology

Two users share the same file inside a folder. User1 works on the file, makes changes and saves the file. User2 then works on the file, makes changes and saves the file. The next time User1 attempts to open the file, they receive an 'access denied' error. Which of the following will cause this error message?

A. The file was set with the system and hidden attributes. B. The file was set to read-only by the accounts receivable administrator. C. The file was moved before being modified, then moved back to the share. D. The IMTFS permissions were changed on the file to allow only execute.

Computer Science & Information Technology

The RAID controller on a server failed and was replaced with a different brand. Which of the following will be needed after the server has been rebuilt and joined to the domain?

A. Vendor documentation B. Recent backups C. Physical IP address D. Physical network diagram

Computer Science & Information Technology