Command Line Flashcards
(19 cards)
What does Sfc/ scannow do?
Scan and repairs system files.
What does chdsk do?
Checks file system and disk integrity
What does ifconfig/all show?
Detailed network configuration including MAC and DNS.
Purpose of netstat?
Displays active network connections.
What does task kill/PID [#]/F do?
Forcefully ends a process.
What does gpupdate/force do?
Forces a Group Policy update.
What does robocopy do?
Advanced file copy with resume & logging features.
Linux Command: Used to handle packages (installing Upgrading, or Updating) in Debian, Ubuntu and other Debian drivatives
pwd
Linux Command Line
View active processes live with system usage.
apt-get
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
ipconfig
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
Ping
Which command helps you determine at which point a packet fails when reaching it’s destination?
ipconfig
tracert
netstat
diskpart
tracert
You want to verify if the DNS server can resolve a hostname. Which tool should you use?
tracert
netstat
nslookup
hostname
nslookup
what command would help you identify active connections and open ports on your local machine?
netstat
chkdsk
net user
cd
netsat
A Windows user is experiencing system file corruption. What command should you run to repair protected OS files?
chkdsk
diskpart
sfc /scannow
robocopy
sfc /scannow
You suspect a drive has bad sectors and file system errors. Which command would you use?
chkdsk
Which command-like utility is used to manage disk partitions and format drives?
diskpart
Which command lets you create or modify local user accounts from the command line?
net user
gpupdate /force