Use Command-line Tools Flashcards

Lesson 11C

1
Q
A

command prompt admin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
A

Navigating directories with the cd command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A

diskpart program showing a hard disk partition structure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A

System File Checker utility.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

command shell
cmd.exe

A

processes the legacy command set that has been part of Windows since its earliest versions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Run as administrator

A

command prompt with elevated privileges
Right-click the command prompt shortcut/select Run as administrator/confirm UAC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Command Syntax

A

refers to the specific structure and rules that dictate how commands are written and executed to perform tasks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rudimentary help system

A

If you enter help Command, the help system lists the syntax and switches used for the
command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

command syntax

/ ? switch

A

can also display help on a particular command by using the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

command syntax

directory path

A

The string before > in the command prompt shows the working

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dir command

A

To list the files and subdirectories from either the working drive and directory or from a specified path.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

wildcard character

A

a placeholder that represents one or more unknown characters, enabling flexible pattern matching in searches or queries.

Example: c?t would find “cat”, “cot”, but not “cart”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

cd command

A

is used to set the focus to a different working directory.
Ex. cd C:\Users\David

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

dir

A
  • parent directory
  • root directory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Changing the Current Drive

A

just enter the drive letter followed by a colon and press ENTER.

ex. D: changes to the D drive. The prompt will change to D:> indicating that the default
drive is now drive D.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

move command and copy command

A

Both commands use a three-part syntax: command Source Destination.

Where ability to transfer files
contained in a single directory.

17
Q

xcopy command

A

is a utility that allows you to copy the contents of more than one directory at a time and retain the directory structure.

as follows: xcopy Source [Destination] [Switches]

18
Q

md command

A

To create a directory
ex. md A:\Data\Docs

19
Q

Removing a Directory

20
Q

diskpart

A

is the command interface underlying the Disk Management tool

21
Q

disk management

diskpart basics

A

Run the* diskpart* utility, and then enter select disk 0 at the prompt or any partition number you want to check
or
* detail disk- details
* select partition 0 or select volume 0-
* detail partition or detail volume
* exit - to exit* diskpart*

22
Q

format command

A

writes a new file system to a drive. This process deletes any data existing on the drive.

23
Q

chkdsk

A

scans the file system and/or disk sectors for faults and can attempt to repair any problems detected.

24
Q

System Management Commands

shutdown command

A

can be used to safely halt the system or log out
* shutdown /s
* shutdown /a - abort
* shutdown /h- hibernate
* shutdown /l - log off
* shutdown /r- restart

25
Q

System File Checker utility (sfc)

A

provides a manual interface for verifying system files and restoring them from
cache if they are found to be corrupt or damaged

26
Q

System File Checker utility (sfc)
basics:

A
  • sfc /scannow- scans immediately
  • sfc /scanonce -scan at restart
  • sfc /scanboot- scans each time pc boots
27
Q

winver command

A

reports version information