1102 1.2 Windows Command Line Flashcards

1
Q

You need to list all files and directories in the current directory.

A

dir

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

You need to change to a different directory.

A

cd or chdir [directory]

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

You want to create a new directory.

A

mkdir or md [directory]

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

You need to delete a directory.

A

rd or rmdir [directory]

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

You want to switch from C: drive to D:

A

D:

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

You need to view the IP configuration of your computer.

A

ipconfig

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

You need to test connectivity to a specific IP address.

A

ping [ip address]

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

You want to see your computer’s network name.

A

hostname

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

You need to view all network connections and listening ports.

A

netstat

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

You need to find the IP address associated with a domain name.

A

nslookup [domain name]

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

You suspect a hard drive error and want to check the disk.

A

chkdsk

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

You need to view or modify network shares.

A

net use

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

You want to trace the route packets take to a network host.

A

tracert [IP address]

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

You need to format a disk.

A

format [drive]:

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

You want to copy files from one directory to another.

A

xcopy [source] [destination]

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

You need to copy a file within the same directory.

A

copy [source file] [destination file]

17
Q

You need to robustly copy entire directories including subdirectories.

A

robocopy [source] [destination] /E

18
Q

You need to update group policy settings immediately.

A

gpupdate

19
Q

You want to view detailed group policy settings for your computer.

A

gpresult

20
Q

You need to shutdown or restart the computer.

A

shutdown /r or shutdown /s

21
Q

You need to verify the integrity of Windows system files.

A

sfc /scannow

22
Q

You need help on how to use a specific command.

A

[command name] /?

23
Q

You need to manage disk partitions on your computer.

A

diskpart

24
Q

You want a detailed path and performance analysis to a network host

A

pathping [IP address]

25
Q

You need to know the version of Windows operating system running on your computer.

A

winver

26
Q

You need to manage user accounts on a Windows machine.

A

net user

27
Q

You want to ensure that file and printer sharing is enabled on your computer.

A

net config server

28
Q

You need to map a network drive to a letter on your computer.

A

net use [drive letter]: [path to network share]

29
Q

You want to view all network statistics, including established connections and routing tables.

A

netstat -a

30
Q

You need to verify if your machine can connect to the internet by sending test messages.

A

ping www.google.com