1002 A+ 2 Flashcards
What is GDPR?
General data protection regulation.
An EU regulation.
Gives its citizens more control over information about themselves by giving them ability to remove information about themselves.
How to remotely reboot a windows computer from command line?
Shutdown /r /t nn
t = timer
*where “nn” = the seconds before rebooting.
How to change a Linux account password from the terminal?
Passwd
How to display currently running windows processes from command line?
Tasklist
To kill processes:
taskkill /im notepad.exe
taskkill /pid 1234 /t
What is the shortcut to run cmd prompt as administrator?
Type cmd into run and press ctrl+shft+enter.
How to use help in windows command prompt?
Help [command]
Or
[command] /?
What is the windows equivalent in command prompt of using the “ls” command to list the current directory?
dir
How to shut down a windows computer from the command prompt?
shutdown /s
- if timer is running, can abort with:
Shutdown /a
What is dism?
Deployment Image Servicing and Management tool.
Allows you to manage Windows Imaging format (WIM) files.
What is sfc and how to use it?
System file checker.
sfc /scannow
Checks for damaged system files in windows.
Scans all core system files.
Verifies that malware has not modified any system files.
How to scan hard drive on windows for errors from command line?
chkdsk /f
- fixes logical file system errors on disk.
chkdsk /r
- locates bad sectors and recovers readable info.
- also does logical check from /f.
- if running from that volume, windows allows you to run chkdsk on the next startup.
What is the command line utility for managing storage devices?
Diskpart
diskpart -> help
How to force a group policy update on a windows computer?
gpupdate
*usually update takes affect at next login.
gpupdate /target:{computer|user} /force
gpupdate /target:professor /force
How to view group policy settings for a user or computer?
gpresult /r = shows for that computer
gpresult /user sgc/professor /v
- checks a specific user/remote device.
How to format a drive from the command line?
format d:
What does the /v option mean when using “copy” from command line?
Verifies that files copied correctly to the new location.
What does the /y option mean when using “copy” from command line?
Suppresses any prompts to confirm you want to overwrite an existing destination file.
What does xcopy do?
Copies all files inside a directory as well.
Can use “/s” command to also copy all sub directories.
What is a better option than xcopy?
robocopy.
Included with windows 7, 8 and 10.
Has ability to resume copying if interrupted.
- good for times when connectivity is difficult.
Where can you restart a print spoiler in windows?
Under “Services”.
Where to work with usernames and passwords in windows?
Credential manager.
What is a hypervisor snapshot?
An image of an entire VM, kind of like making restore points in windows. If the VM crashes or is currupted, it can be entirely reloaded.