Windows Commands Flashcards

1
Q

cd/chdir

A

Change working directory. Use backslash to specify the directory.

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

md/mkdir

A

Make directory

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

rd/rmdir

A

Remove directory

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

C:

A

Moves to specified drive. Can be combined with backslashes and folder names to navigate to a specific folder

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

ipconfig

A

Determines TCP/IP and network adapter information, along with additional IP details. Can also view additional config details like DNS servers, DHCP servers, etc.

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

ping

A

Test reachability. Determines round-trip time using Internet Control Message Protocol.

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

hostname

A

Shows name of device, which can be changed in System Settings.

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

netstat

A

Shows network statistics.

Netstat -a shows all active connections

Netstat -b shows binaries and requires elevation

Netstat -n does not resolve usernames.

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

nslookup

A

Lookup information from DNS servers like canonical names, IP addresses, cache timers, etc.

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

chkdsk

A

Scans for and repairs errors in the hard drive.

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

net user

A

View user account information and reset passwords.

Net User <username></username>

Net User <username> * /domain</username>

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

net use

A

Maps a share to a drive letter following the format:

“\<servername>\<sharename>”</sharename></servername>

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

tracert

A

Determines the route a packet takes to a destination. Uses Time to Live to measure number of hops between devices. Sometimes filtered by firewalls and often low priority.

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

format

A

Formats a disk in FAT32.

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

xcopy

A

Copies files and directory trees

17
Q

robocopy

A

Better version of xcopy that can survive a broken connection, change the amount of bandwidth, and time of transfer.

18
Q

gpupdate

A

Forces a group policy update without needing to login or out.

gpupdate /target:{computer|user} /force

gpupdate /target:user /force

19
Q

gpresult

A

Verify policy settings for a computer or user

gpresult /r

gpresult /user sgc/[user] /v

20
Q

shutdown

A

Shuts down (and restarts).

Shutdown /s /t nn
Wait nn seconds, then shutdown

Shutdown /r /t nn
Shutdown and restart after nn seconds

Shutdown /a

21
Q

sfc

A

Checks and repairs the integrity of system files

22
Q

[command name] /?

A

Shows information about command

23
Q

diskpart

A

Manages disc configuration

24
Q

pathping

A

Combination of ping and tracert. It runs tracert to map the network, and then measures round trip time and packet loss between each hop like ping.

25
Q

winver

A

Shows the version of Windows