Command line tools (Windows) Flashcards

(23 cards)

1
Q

cd

A

Changes the current directory (folder) you’re working in

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

dir

A

Lists files and folders in the current directory

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

ipconfig

A

Displays IP address, subnet mask, and gateway for all adapters

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

ping

A

Tests network connectivity between devices

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

netstat

A

Shows active network connections and listening ports

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

nslookup

A

Queries DNS to get IP address info for domain names

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

net use

A

Maps or disconnects shared network drives/resources

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

tracert

A

Traces the route packets take to a destination (shows hops)

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

pathping

A

Combines “ping” and “tracert” to analyze packet loss at each hop

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

chkdsk

A

Scans and repairs disk errors (file system and bad sectors)

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

format

A

Formats a disk for use with Windows (erases everything)

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

diskpart

A

Opens a disk partitioning tool to manage drives

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

md

A

Creates a new directory (same as “mkdir”)

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

rmdir

A

Deletes an empty directory

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

robocopy

A

Advanced file copy tool with retry, sync, and mirror options

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

hostname

A

Displays the name of the current computer

17
Q

net user

A

Displays or modifies user account information

18
Q

winver

A

Shows Windows version and build info

19
Q

whoami

A

Displays the current use account you’re logged in as

20
Q

[command] /?

A

Shows help or syntax info for any command (e.g., “ping /?”)

21
Q

gpupdate

A

Forces an immediate Group Policy update

22
Q

gpresult

A

Displays Group Policy settings for a user/computer

23
Q

sfc

A

Scans and repairs corrupted system files (“sfc /scannow”)