Windows Commands Flashcards

1
Q

View all environment variables

A

set

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

Set and environment variable

A

setx variable value (admin mode)

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

Print specific variables

A

echo %VAR%

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

Shutdown

A

shutdown /s /t 10

/s = shutdown
/t xxx = time-out period before shutdown
/r = shutdown and restart

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

Current command path

A

path

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

Detailed config info about computer and OS

A

system info

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

Help

A

/?

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

Open explorer

A

explorer

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

Open calculator

A

calc

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

Microsoft Managment Console

A

mmc

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

Create connections in remote servers and computers

A

mstsc

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

Network Connection properties administration

A

ncpa.cpl

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

Internet Properties control

A

inetcpl.cpl

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

Mouse Properties control

A

main.cpl

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

Sound Properties control

A

mmsys.cpl

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

System Properties control

A

sysdm.cpl

17
Q

Display Properties control

A

desk.cpl

18
Q

Add/Remove Programs control

A

appwiz.cpl

19
Q

Change Drive

A

c:
d:

20
Q

Make Directories

A

mkdir “Name”

21
Q

Rename Directories

A

ren “currentName” “newName”

22
Q

Verifies IP-level connectivity to another TCP/IP computer

A

ping “IP”

23
Q

Test Port Connection

A

Test-NetConnection “HOST” -Port “PORT”

24
Q

Display all current TCP/IP configurations

A

ipconfig

25
Q

Display Route Details

A

netstat -rn

26
Q

Display Hostname from IP

A

nbtstat -a “IP_ADDRESS”

27
Q

Display MAC Address

A

getmac

28
Q

Display entries in the ARP cache

A

arp -a

29
Q

Deletes entries in the ARP cache

A

arp -d

30
Q

Displays active TCP connections

A

netstat -an

31
Q

Displays Users Account Information

A

net user

32
Q

Lists all directories inside of current directory

A

ls (thats an L btw, think ‘List’)

33
Q

Displays current working directory

A

pwd

34
Q

Changes working directory

A

cd

35
Q

Changes working directory to the one directly above the current working directory

A

cd ..

36
Q

Changes working directory through several directories

A

cd path/path/path

37
Q

Changes working directory up through several directories

A

cd ../../..