Podcast
Questions and Answers
Which command can be used to see all active connections on a machine, including processes using the internet connection?
Which command can be used to see all active connections on a machine, including processes using the internet connection?
- tracert
- netstat -ab (correct)
- ipconfig /all
- ping
Which command allows you to create a new directory on your hard drive?
Which command allows you to create a new directory on your hard drive?
- chkdsk
- mkdir (correct)
- sfc
- cd
What command is used to check for and repair corrupted Windows files?
What command is used to check for and repair corrupted Windows files?
- sfc /scannow (correct)
- chkdsk
- netstat -ab
- tasklist
Which command can be used to display detailed information about your PC, including its hardware configuration?
Which command can be used to display detailed information about your PC, including its hardware configuration?
Which of the following commands can be used to stop a running service?
Which of the following commands can be used to stop a running service?
What command can you use to display the route that a network request takes to reach its destination?
What command can you use to display the route that a network request takes to reach its destination?
Which command can you use to show the IP address associated with a given domain name?
Which command can you use to show the IP address associated with a given domain name?
Which command can be used to change directories on your hard drive?
Which command can be used to change directories on your hard drive?
What command can be used to see the current username and domain name?
What command can be used to see the current username and domain name?
Which command shows all running programs and processes, similar to Task Manager?
Which command shows all running programs and processes, similar to Task Manager?
What command should be used to delete files that end with the '.exe' extension?
What command should be used to delete files that end with the '.exe' extension?
Which command can be used to securely delete files, making them virtually unrecoverable?
Which command can be used to securely delete files, making them virtually unrecoverable?
What command allows you to view the current version of Windows?
What command allows you to view the current version of Windows?
Which command will allow you to manage disk partitions?
Which command will allow you to manage disk partitions?
What is the purpose of the runas
command?
What is the purpose of the runas
command?
Which command is used to create incremental backups while copying files?
Which command is used to create incremental backups while copying files?
What does the mmc
command do?
What does the mmc
command do?
Which command would you use to log off from the current session on a computer?
Which command would you use to log off from the current session on a computer?
What command is helpful for checking if unwanted tasks are running on your computer?
What command is helpful for checking if unwanted tasks are running on your computer?
Which command is used to rename a file or folder?
Which command is used to rename a file or folder?
Flashcards
ping
ping
Sends request to a device or network location by its IP address and tests whether the device responds.
ipconfig
ipconfig
Displays your local IP address and network information. Useful for troubleshooting and finding out what IP addresses your devices are using.
cls
cls
Clears the text on the command prompt screen. Useful for cleaning up the screen before running new commands.
nslookup
nslookup
Signup and view all the flashcards
tracert
tracert
Signup and view all the flashcards
shutdown
shutdown
Signup and view all the flashcards
netstat -ab
netstat -ab
Signup and view all the flashcards
cd
cd
Signup and view all the flashcards
sfc /scannow
sfc /scannow
Signup and view all the flashcards
chkdsk
chkdsk
Signup and view all the flashcards
format
format
Signup and view all the flashcards
diskpart
diskpart
Signup and view all the flashcards
xcopy
xcopy
Signup and view all the flashcards
del
del
Signup and view all the flashcards
schtasks
schtasks
Signup and view all the flashcards
hostname
hostname
Signup and view all the flashcards
cipher
cipher
Signup and view all the flashcards
psexec
psexec
Signup and view all the flashcards
mmc
mmc
Signup and view all the flashcards
dir
dir
Signup and view all the flashcards
Study Notes
Windows Command Prompt
- How to get started:
- Open "Command Prompt" in Windows
- Select "Run as administrator"
- To see more details on any command, add a space followed by "/" and a question mark after the command name (ex:
ping /?
)
Basic commands:
ping
: Sends requests to a device or network location (like a printer, PC, or Wi-Fi) via its IP address and tests whether the device responds.ipconfig
: Shows your local IP address and network information, use/all
to see more details.cls
: Clears the text on the command prompt screen.nslookup
: Retrieves IP address associated with a given domain name, or conversely.tracert
: Shows the route that a network request takes to reach its destination.shutdown
: Shuts down a machine, use the-i
option for a graphical interface (if you are the administrator of the machine).
Network and System Commands:
netstat -ab
: Displays active connections on a machine, including processes using the internet connection, useful for troubleshooting or detecting malware.net
: A versatile command with various sub-commands:net time
: Syncing time on a network domainnet share
: Shows available shared resources on a Windows networknet stop
: Stops a running servicenet start
: Starts a service
systeminfo
: Shows detailed information about your PC.getmac
: Displays MAC addresses of your local network connections.arp -a
: Shows network connections based on their MAC addresses on the local network.whoami
: Shows the current username and domain name.set
: Displays all environment variables for a user, including information like processor count.
Navigation and File Management:
cd
: Changes directories on your hard drive (usecd ..
to move up one level)mkdir
: Creates a directory on your hard drive.sfc /scannow
: Checks for and repairs corrupted Windows files (very useful for troubleshooting).chkdsk
: Scans a hard drive or SSD for errors and attempts to repair them (add/f
at the end for automatic fixing).route print
: Shows the routing table and how network traffic is directed.tasklist
: Shows all running programs and processes, similar to Task Manager.taskkill
: Stops a running program by using its PID number (the process ID number).format
: Formats a disk, be extremely cautious with this command, as it erases all data.diskpart
: Allows you to manage partitions on a hard drive or SSD.
Backup and File Management:
xcopy
androbocopy
: Both allow you to copy files and folders between locations. Adding a parameter like/d
creates incremental backups, only copying files that have been modified since the last backup.del
: Deletes files, usedel *.exe
to delete files that end with the '.exe' extension, be cautious with this command as it permanently removes files.
System and Security:
schtasks
: Displays scheduled tasks, useful for checking if unwanted tasks are running.hostname
: Shows the name of the current computer.cipher
: Securely deletes files, making them practically impossible to recover.psexec
: Executes a command on a remote computer (requires administrator privileges).mmc
: Opens a management console where you can add various tools, useful for accessing Windows settings and configurations.dir
: Lists the contents of a specific folder, useful for exploring file and folder structure.runas
: Runs a program as a different user account (administrators, etc.), helpful for troubleshooting or managing privileges remotely.rmdir
: Deletes an empty directory, use/s
to also delete its contents. Be cautious as this action cannot be undone.msiexec
: Installs MSI-format programs (use/quiet
for silent installation).ver
: Shows the current version of Windows.
Other:
findstr
: Searches for a string of text within a file or set of files, providing results in the console window.color
: Modifies the text and background colors of the command prompt window.ren
: Renames a file or folder.exit
: Exits the command prompt window.help
: Displays a list of available commands and their basic functionality.logoff
: Closes your session by logging you out.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.