Exam 220-1102 All QuestionsBrowse all questions from this exam
Question 99

Which of the following command-line tools will delete a directory?

    Correct Answer: D

    The command-line tool that can be used to delete a directory is 'rd'. The 'rd' command stands for 'remove directory' and is specifically designed for this purpose. This is distinct from the 'del' command, which is used to delete files, not directories. Other commands listed do not perform directory deletion.

Discussion
Dido1963Option: D

with "del" you can delet only a file, not a direktory! You need to use rd

[Removed]Option: D

Answer is 10000% "rd". like many have said, it stands for remove directory.

LayinCable

I know who you are and you do not know what you are talking about pal. Get off your high horse and get on your rightful pony. (The answer is D though)

aislingOption: D

rd remove directory

JoltOption: B

answer is del, try it it out in powershell! , make a folder, then go on in powershell browse to to parent directory an del directory and poof it's gone

Sammyy2323Option: D

verified from microsoft windows commands.

imtiazL

Correct rd deletes the folder and all data within the folder del deletes only the data within the folder

EngAboodOption: D

mkdir -- create directory , rmdir -- remove directry , i was looking for rmdir :((((((((((

CircaG

rmdir = rd mkdir = md

Rafid51Option: D

Answer is "rd" short for "remove directory"

ThejphallOption: D

answer is D. "rd" is an alias for the command "rmdir" which functions to remove directories.

BytesznOption: D

I've always known it to be "rd" since MS-Dos days, powershell isn't that commonly used by all techs.

RaffaellooOption: D

In computing, rmdir (or rd ) is a command which will remove an empty directory on various operating systems.

FannanOption: D

To delete an empty directory, enter rd Directory or rmdir Directory . If the directory is not empty, you can remove files and subdirectories from it using the /s switch. You can also use the /q switch to suppress confirmation messages (quiet mode).

solaWONDEROption: D

The command-line tool that can be used to delete a directory is the "rd" command. This command is specifically designed to remove directories from a file system

solaWONDEROption: D

D. rd (or rmdir) The "rd" command in Windows or "rmdir" command in Unix-like systems is used to remove or delete a directory. This command deletes an empty directory. If the directory is not empty, you may need to use additional options or flags with the command to force the deletion and remove all the files and subdirectories within it.

cecegilbertOption: D

Remove directory=rd

dimeaterOption: D

Remove directory = rmdir l rmdir = RD

longbob

Out of curiosity, What operating system are we deleting the directory from?

longbob

In Windows Command Prompt you can use the "del" command to delete objects. In Linux, -bash: rd: command not found rm -d is the command to remove/delete a directory. Hopefully this will add some clarity to this poorly written question.

SarooorOption: D

i think the right answer is D