Command Line Flashcards

(19 cards)

1
Q

What does Sfc/ scannow do?

A

Scan and repairs system files.

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

What does chdsk do?

A

Checks file system and disk integrity

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

What does ifconfig/all show?

A

Detailed network configuration including MAC and DNS.

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

Purpose of netstat?

A

Displays active network connections.

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

What does task kill/PID [#]/F do?

A

Forcefully ends a process.

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

What does gpupdate/force do?

A

Forces a Group Policy update.

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

What does robocopy do?

A

Advanced file copy with resume & logging features.

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

Linux Command: Used to handle packages (installing Upgrading, or Updating) in Debian, Ubuntu and other Debian drivatives

A

pwd

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

Linux Command Line
View active processes live with system usage.

A

apt-get

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

You need to verify the IP address, subnet mask, and default gateway on a Windows machine. Which command should you use?

ping
ipconfig
netstat
tracert

A

ipconfig

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

You suspect a device isn’t reachable over the network. What command do you use to test connectivity to it’s IP address?

Ping
Net use
nslookup
sfc

A

Ping

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

Which command helps you determine at which point a packet fails when reaching it’s destination?

ipconfig
tracert
netstat
diskpart

A

tracert

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

You want to verify if the DNS server can resolve a hostname. Which tool should you use?

tracert
netstat
nslookup
hostname

A

nslookup

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

what command would help you identify active connections and open ports on your local machine?

netstat
chkdsk
net user
cd

A

netsat

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

A Windows user is experiencing system file corruption. What command should you run to repair protected OS files?

chkdsk
diskpart
sfc /scannow
robocopy

A

sfc /scannow

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

You suspect a drive has bad sectors and file system errors. Which command would you use?

17
Q

Which command-like utility is used to manage disk partitions and format drives?

18
Q

Which command lets you create or modify local user accounts from the command line?

19
Q
A

gpupdate /force