Windows Command lines Tools Flashcards

1
Q

> help dir
help chkdsk

or [command] /?

A

when you’re not sure or need help

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

dir

A

List files and directories

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

cd / chdir

A

Change working directory
– Use backslash \ to specify volume or folder name

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

md / mkdir

A

– Make a directory

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

*rd / rmdir

A

– Remove directory

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

hostname

A

View the name of the device

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

rd / rmdir

A

– Remove directory

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

hostname

A

View the name of the device
– This is very useful when there are 10 different
terminal screen tabs in use

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

format

A

Formats a disk for use with Windows
*format c:

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

xcopy

A

Copies files and directory trees
xcopy /s Documents m:\backups

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

copy (/v, /y)

A

Copy files from one location to another
/v - Verifies that new files are written correctly
/y - Suppresses prompting to confirm you want to
overwrite an existing destination file

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

robocopy

A

A better Xcopy

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

gpupdate

– gpupdate /target:{computer|user} /
force
– gpupdate /target:professor /force

A

Force a Group Policy update

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

gpresult

A

– Verify policy settings for a computer or user

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

shutdown

A

Shutdown a computer

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

shutdown /s /t nn

A

– Wait nn seconds, then shutdown

17
Q

shutdown /r /t nn

A

– Shutdown and restart after nn seconds

18
Q

shutdown /a

A

– Abort the countdown!

19
Q

sfc /scannow

A
  • System File Checker
    – Scan integrity of all protected system files
20
Q

chkdsk /f

A

– Fixes logical file system errors on the disk

21
Q

chkdsk /r

A

Locates bad sectors and recovers readable informatio

22
Q

diskpart

A

start the DiskPart command interpreter

23
Q

winver

A

View the About Windows dialog
– A quick check