MS CMD line tools Flashcards
Which of the following Windows Command Prompt commands can be used to list all directory’s files and subdirectories contained in the current directory? [2]
‘dir’
‘dir .’
Which of the command-line commands listed below is used for directory traversal?
‘cd’
Which parameter of the cd command in Windows moves the command-line prompt one folder up in the directory tree (sets the prompt at the parent folder of the current folder)?
‘cd ..’
Which of the following commands in Windows Command Prompt changes the current directory to the root directory?
‘cd '
What is the name of an MS Windows command-line utility that can be used to display TCP/IP configuration settings?
ipconfig
Which of the answers listed below refers to an ipconfig command parameter used for displaying the full TCP/IP configuration information for all adapters?
/all
Which ipconfig parameter allows to view the physical address of a Network Interface Card (NIC)?
/all
Which of the following command-line commands in MS Windows are used for resetting the DHCP configuration settings for all adapters? [2]
‘ipconfig /release’
‘ipconfig /renew’
A command-line utility used for checking the reachability of a remote network host is known as:
ping
A network command-line utility in MS Windows that tracks and displays the route taken by IPv4 packets on their way to another host is called:
tracert
Netstat is a command-line utility used for[II]:
- Displaying active TCP/IP connections
- Displaying network protocol statistics
Which netstat parameter allows to display all connections and listening ports?
‘-a’
What netstat parameter in Microsoft Windows allows to display the name of an application involved in creating each connection or listening port.
netstat-b
Which of the following netstat parameters displays addresses and port numbers in numerical form?
‘-n’
Which of the following CLI tools can be used for troubleshooting DNS-related problems?
nslookup
The following command can be used to shut down or restart a local or remote host running MS Windows.
shutdown