Commands
Which of the command-line tools listed below can be used for troubleshooting DNS-related problems?
nslookup
Which of the Command Prompt commands listed below are used for resetting the DHCP configuration settings for all adapters in MS Windows?
ipconfig /release ipconfig /renew
What utility can you use to view a computers current connections, active sessions, and ports?
netstat Checks for open ports on a given client and looks for ports or connections on listening mode.
For a newly added storage drive, this command-line tool allows to configure it with a file system enabling Windows to store information on the drive:
Format
cd
Use the cd command to work with the current directory.
Which netstat parameter allows to display all active TCP connections and the TCP/UDP ports on which the computer is listening?
-a
Which of the following netstat parameters displays addresses and port numbers in numerical form?
-n
Which copy command switch in Windows verifies that the new files are written correctly?
/v
Which of the copy command switches suppresses the confirmation prompt displayed when Windows is about to overwrite the contents of an existing file?
/y
Which of the Command Prompt commands in MS Windows launches a text-based, command-line partitioning utility?
Diskpart Used to manage the computers disk drives, partitions, volumes, and virtual hard disks.
To get help with the command prompt, you have to options:
Enter the name of command, type /? , and press ENTER. Enter 'help name of command'. This prompts Windows to open the same help screen as the /? prompt.
The /f switch of the chkdsk Command Prompt utility in MS Windows:
Fixes errors on the disk
The /r switch of the chkdsk command-line utility in Windows:
Locates bad sectors and recovers readable information Fixes errors on the disk
msinfo32
Provides information about hardware resources, components, and the software environment. Also known as System Information.
Which of the following is the correct command for setting the time-out period of 30 seconds before powering off a Windows host?
Shutdown /s /t 30
nslookup
The nslookup command resolves (looks up) the IP address of a host name. It also displays other name resolution-related information, such as the DNS server used to lookup request.
dir
Use the dir command to display a list of files and subdirectories in a directory.
md (mkdir) command
Use the md and mkdir commands to create (make) a directory.
rm/rmdir
Use the rm or rmdir command to delete (remove) a directory.
To add file attributes:
attrib path\file name and press enter (to see what attributes are currently set for the file) attrib +H(or whatever attributes you are adding) path\file name and press enter
Which Command Prompt commands in MS Windows move the command-line prompt one folder up in the directory tree (set the prompt at the parent folder of the current folder)?
cd .. chdir ..
Which of the Windows command-line commands listed below change the current directory to the root directory?
chdir \ cd \
Which command-line commands in Windows can be used to display help information related to a specific utility?
help [command name] [command name] /?
You are troubleshooting a network connectivity issues on a workstation. Which command would you use to request new IP configuration information from a DHCP server?
ipconfig /renew
Sfc /scannow command
will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache.
Which of the Command Prompt commands in MS Windows launches a pop-up window containing brief summary of the installed operating system?
winver