nerdexam
CompTIA

220-802 · Question #83

Which of the following commands would a technician use to move one directory above or below the one the technician is currently in?

The correct answer is C. CD. The CD (Change Directory) command is used to navigate the directory tree, moving up or down one or more levels from the current location.

Hardware and network troubleshooting

Question

Which of the following commands would a technician use to move one directory above or below the one the technician is currently in?

Options

  • ADIR
  • BRD
  • CCD
  • DMD

How the community answered

(23 responses)
  • A
    4% (1)
  • C
    91% (21)
  • D
    4% (1)

Why each option

The CD (Change Directory) command is used to navigate the directory tree, moving up or down one or more levels from the current location.

ADIR

DIR lists the contents of the current directory but does not change the working directory location.

BRD

RD (Remove Directory) deletes an existing directory; it does not navigate the file system.

CCDCorrect

CD (Change Directory) is the correct command for navigating between directories in Windows. Running 'CD ..' moves one directory up (to the parent), while 'CD <foldername>' moves into a subdirectory below. This is the fundamental navigation command in the Windows command interpreter.

DMD

MD (Make Directory) creates a new directory; it does not change the current working directory.

Concept tested: Windows command-line directory navigation

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd

Topics

#CD command#directory navigation#Windows CLI#command prompt

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice