MS Commands

5.0(1)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/39

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

40 Terms

1
New cards
What Windows command prompt commands can be used to list all directory's files and subdirectories contained in the current directory?
dir & dir *.*
2
New cards
What command-line command is used for directory traversal?
cd
3
New cards
Which parameter of the cd command in Windows moves the command-line prompt one folder up in the directory tree?
cd ..
4
New cards
What commands in Windows command prompt changes the current directory to the root directory?
cd \
5
New cards
What is the name of an MS Windows command-line utility that can be used to display TCP/IP configuration settings?
ipconfig
6
New cards
What refers to an ipconfig command parameter used for displaying the full TCP/IP config info for all adapters and allows you to view the physical address of a Network Interface Card?
ipconfig /all
7
New cards
What two commands are used for resetting the DHCP config settings for all?
ipconfig /release
ipconfig /renew
8
New cards
What command is used for checking the reachability of a remote network host?
ping
9
New cards
What network command-line utility tracks and displays the route taken by IPv4 packets on their way to another host?
tracert
10
New cards
What command-line utility displays active TCP/IP connections and network protocol stats?
Netstat
11
New cards
What netstat parament allows you to display all connections and listening ports?
netstat -a
12
New cards
What netstat parameter allows you to display the name of an application involved in creating each connection or listening port?
netstat -b
13
New cards
What netstat parameter allows you to display address & port numbers in numerical form?
netstat -n
14
New cards
What CLI tools can be used for troubleshooting DNS-related problems?
nslookup
15
New cards
What comman can be used to shut down or restart a local or remote host on MS windows?
shutdown
16
New cards
What is the correct command for setting the time-out period for 60 seconds before powering off a windows host?
shutdown /s /t 60
17
New cards
What shutdown command switch in MS forces full system shutdown and restart of a windows host?
shutdown /r
18
New cards
What comman enables a full system shutdown and restart of a MS windows host after a time-out period of 2 minutes?
shutdown /r /t 120
19
New cards
What shutdown command switch enables aborting a system shutdown?
shutdown /a
20
New cards
What utility scans the integrity of all protected files and replaces incorrect version with correct MS versions?
sfc
21
New cards
What sfc switch enables a type of file check that scans integrity of all protected system files and repairs corrupted files when possible?
/scannow
22
New cards
What is a Windows OS/2 and DOS tool used for checking the file system & status of the system's hard drives?
chkdsk
23
New cards
What chckdsk command fixes erros on the disk?
chkdsk /f
24
New cards
What chckdsk command locates bad sectors & recovers readable information and fixes errors on the disk?
chkdsk /r
25
New cards
What command launches a text-based command-line partitioning utility?
diskpart
26
New cards
what command displays a list of currently running processes on a local or remote host?
tasklist
27
New cards
Provided that the process ID of notepad.exe obtained with the tasklist command is 1230 what is the correct syntax for a Windows Command Prompt taskkill command that would allow to close this application?
taskkill /pid 1230
28
New cards
What taskkill command & syntax would allow you to close notepad.exe by providing its imagename?
taskkill /im notepad.exe
29
New cards
What command allows for updating mulitiple group policy settings in MS-Windows?
gpupdate
30
New cards
What command displays the group policy info for a machine or user?
gpresult
31
New cards
What command configures a newly added hard drive with a file system so that Windows can sotre info on it?
format
32
New cards
What comman can be used to copy one or more files from one location to another?
copy
33
New cards
What copy command switch verifies that the new files are written correctly?
copy /v
34
New cards
What copy command switch suppresses the confirmation prompt displayed when Windows is about to overwrite the contents of an existing file?
copy /y
35
New cards
What two commands allow for copying multiple files or entire directory trees from one directory to another and for copying files across the network?
xcopy
robocopy
36
New cards
What command is used for listing a computer's connections to shared resources?
net use
37
New cards
What command lists the user accounts for the computer?
net user
38
New cards
What 2 commands can be used to display help info related to a specific command-line utility?
help [command name]
\[command name] /?
39
New cards
What comman displays a full list of avaialble system command along with a brief description of each command?
help
40
New cards
Right-clicking on the Command Prompt app icon allows for execution of shell commands reserved for what?
System administrator