1.2 Flashcards
(78 cards)
In what circumstances might you use the ipconfig/flushdns command ?
Clears the DNS cache to acces sites.
Or if you have security concerns
What does the hostname command do ?
Prints only the NetBios name of the PC
Try it on the command line now
What windows command should you use to find the name of a computer ?
Hostname
What command is used to see what ports are listening on the TCP/IP-based system ?
Netstat
-a shows all ports
/? shows other options
What can Netstat be useful for ?
Monitor traffic on ports for suspicious usage.
How do you exit from most command scenrios ?
ctrl + c
Open up Powershell and look at the different options for nslookup. Try quering and chaging around the Ipv4 to ipv6
Basically type nslookup and then help
https://www.youtube.com/watch?v=jf-x76XYY2o
What does CHKDSK do ?
Scans a disk in hopes of recovering corrupted files
What does the net user command do ?
Add, remove, and change user accounts.
What does the net use command do ?
Used to connect to a network share.
What does the tracert (traceroute) command do ?
Verify the path a network packet travels to its destination. I.e. returns a hop count.
https://www.youtube.com/watch?v=up3bcBLZS74
What is the difference between copy and xcopy ?
Xcopy is designed to copy directories as well as files.
https://www.youtube.com/watch?v=0q3rGK_IMZg
What are the benefits of ROBOCOPY
Keep NTFS permissions intact
Verifications and Speed
What does GPUpdate do?
Forces a device to update policies
What does the System File Checker command do ?
Verifies the versions of system files on your computer.
What does the diskpart command do ?
Partition management
Shows the partitions
https://www.youtube.com/watch?v=qH9PxrKMwCQ&t=14s
What does the winver command do ?
Shows which version of Windows is running.
Anything you put on the end of a command and a command line is known as…
A switch.
What Microsoft command will take you straight to the root directory ?
cd \
Whats the main subtle difference between the linux CLI and Winwdows CLI ?
Windows \
Linux /
What will this command do ?
Format e: /FS:NFTS
Format a drive calle ‘e’ and use the file system ‘fs’ type called NFTS
What does the chmod command do ?
Modifies linux permissions
What does the Chown command do ?
Enables root users to take control of any Linux file/folder
What does the tasklist command do ?
Lists all running proccesses