Command Line Tools Flashcards

(37 cards)

1
Q

ipconfig

A

shows the current network configuration of the device that you are on, IP Address, Gateway address

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

ipconfig /all

A

give us MAC address and DNS server

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

ipconfig /all | findstr dns

A

the |findstr dns will search only for the DNS server IP address

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

ipconfig /release

A

get new IP address, by releasing old

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

ipconfig /renew

A

get new ip address after releasing old

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

ipconfig /renew “wi-fi”

A

only get new wifi ip address

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

ipconfig /displaydns

A

list all websites it knows about and their dns

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

ipconfig /displaydns |clip

A

will copy the results of cammand to paste in word program

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

ipconfig /flushdns

A

will delete dns resolver cache removing any old entries

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

nslookup website.com

A

tell you IP address of a website

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

cls

A

clear screen

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

getmac /v

A

get mac address

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

powercfg /energy

A

get report on power

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

powercfg /batteryreport

A

get battery report, copy file location and paste into command prompt

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

assoc

A

show which file types are associated with which programs

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

assoc .mp4=VLC.vlc

A

change the association of a file type and what program to use

17
Q

chkdsk /f

A

check disk for errors

18
Q

chkdsk /r

A

check for sector issues, might need reboot

19
Q

sfc /scannow

A

check to make sure files are good and replace if necessary

20
Q

DISM /Online /Cleanup-Image /CheckHealth

A

check health of system

21
Q

DISM /Online /Cleanup-Image /ScanHealth

A

scan system for health

22
Q

DISM /Online /Cleanup-Image /RestoreHealth

A

Restores health

23
Q

tasklist |findstr script

A

see whats running

24
Q

taskkill /f /pid xxxxx

A

will kill task of the PID you entered

25
netsh wlan show wlanreport
give you fancy report about wireless
26
netsh firewall set allprofiles state off/on
turn off windows defender! or back on
27
ping
to see if a network is responding
28
ping -t
continuously ping
29
tracert
to see roadmap of network connections
30
tracert -d
faster tracert by not resolving domain names
31
netstat
tell you whats connected to you
32
netstat -af
tells you what ports you have open
33
netstat -o
show you process ID for all connections, so you could delete will taskkill
34
netstat -e -t 5
gives sent and received stats every 5 seconds
35
route print
show you route to get to gateways
36
route add or delete
add or delete ip addresses to route, useful for dockers
37
shutdown /r /fw /f /t 0
shutdown and restart computer into system BIOS