1.4 - Done Flashcards
In reference to command lines, what would we type if we wanted to access files and directories?
dir
In reference to command lines, what would we type if we wanted to move between directories?
cd
In reference to command lines, what would we type if we wanted to access the folder above the current folder we’re at?
. .
In reference to command lines, what would we type if we wanted to shutdown the computer?
shutdown
In reference to command lines, what would we type if we wanted to shutdown the computer, but only after 60 seconds?
shutdown /s /t 60
In reference to command lines, what would we type if we wanted to shutdown the computer, but then restart after shutdown?
shutdown /r /t nn
In reference to command lines, what would we type if we wanted to abort a computer’s shutdown?
shutdown /a
In reference to command lines, what would we type if we wanted to make changes or view the WIM files?
dism
When would you use the dism command?
If you wanted to make changes to your image. For example, get information about an image, update applications, manage drivers, manage updates, mount an image, etc.
In reference to command lines, what would we type if we wanted to scan the integrity of all protected system files?
sfc (system file checker)
In reference to command lines, what would we type if we wanted to check our disk for errors?
chkdsk
What two types of chkdsk commands are there? What are the differences?
chkdsk /f and chkdsk /r
F = Fixes logical file system errors
R = Does “F” then locates bad sectors and if any are found it will recover readable information
True or False: You can’t run a chkdsk on the same drive you are currently using.
True, you must run the chkdsk either on a different drive or have the computer run the check after the system restarts.
In reference to command lines, what would we type if we wanted to manage disk configuration?
diskpart
In reference to command lines, what would we type if we wanted to manage tasks from the command line?
tasklist
In reference to command lines, what would we type if we wanted to terminate a task through the command line?
taskkill
In reference to command lines, what would we type if we wanted a Group Policy to update to a specific computer?
gpupdate /target:{computer|user} /force
gpupdate /target:professor /force
In reference to command lines, what would we type if we wanted to look at the group policy settings for a specific computer or user?
gpresult /r
gpresult /user sgc/professor /v
In reference to command lines, what would we type if we wanted to write a file system to a partition?
format
In reference to command lines, what two options could we use if we wanted to copy one file of a directory? What is the difference between the two?
copy /v = verifies that new files are written correctly
copy /y = suppresses prompting to confirm you want to overwrite an existing destination file
In reference to command lines, what would we type if we wanted to copy multiple files from multiple directory trees at the same time?
xcopy
In reference to command lines, what would we type if we wanted to use a better version of xcopy? What makes it better?
robocopy
It has the ability to resume a file transfer if interrupted in the middle of it
In reference to command lines, what would we type if we wanted to gather more information about a specific command?
[command name] /?
In reference to command lines, what would we type if we wanted to determine the route a packet takes to a destination?
tracert (trace route)
In reference to command lines, what would we type if we wanted to determine what type of network connections are occurring inbound and outbound from my computer?
netstat
In reference to command lines, what would we type if we wanted to show all active connections inbound and outbound from my local computer?
netstat -a
In reference to command lines, what would we type if we wanted to see what binaries in Windows may be sending or receiving information?
What is required to run this command line?
netstat -b
Must be in “Administrator Mode”
In reference to command lines, what would we type if we wanted to include IP addresses when looking at network connections?
netstat -n
In reference to command lines, what would we type if we wanted to lookup information from DNS servers?
nslookup
In reference to command lines, what would we type if we wanted to view user account information and reset passwords?
net user * /domain