OS CMD Tools Flashcards

1
Q

Partitions disks

A

diskpart

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

Formatting a disk

A

format

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

Check a disk

A

chkdsk /f (fixes logical errors on disk) /r (locates bad sectors, recovers information

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

Make a Directory

A

md

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

Change a Directory

A

cd

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

Remove a directory

A

rd

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

Directory listing

A

dir (list files and directories)

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

Delete a file from a directory or disk

A

del names

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

Duplicate Files

A

copy /v (verifies that new files are written correctly) /y (suppresses overwrite prompts)

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

Extended copy

A

xcopy copies multiple files and dir trees source [destination]

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

Create a robust copy

A

robocopy functionally replaces xcopy, designed to handle NTFS file sys details

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

Task list

A

tasklist displays a list of currently running processes, local or remote device

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

Kill a task

A

taskkill terminates tasks by process id (PID) or image name

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

System File Checker

A

sfc /scannow - run the check, scan integrity of all protected system files

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

Shutdown a computer

A

shutdown

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

Remove files from a Windows cabinet file

A

expand -d (displays files in a cabinet) >expand -d , -f:filename - extract a file, >extract -f:filename

17
Q

Force a Group Policy update

A

gpupdate /target:{computer|user} /force

18
Q

Verify policy settings for a computer or user

A

gpresult /r

19
Q

Fixing the MBR

A

BOOTREC /FixMbr

20
Q

Fixing the Volume Boot Record

A

BOOTREC /FixBoot

21
Q

Rebuilding the Boot Configuration Data

A

BOOTREC /RebuildBcd