Question 1
(a) List any six Windows XP commands.
(b) Write short notes on any four.
ANSWERS
(a) List any six Windows XP commands.
- ipconfig
2. ping
3. netstat
4. tasklist
5. taskkill
6. systeminfo
(b) Write short notes on any four.
- ipconfig:
- Function: Displays the TCP/IP network configuration information for a computer.
- Usage: Useful for troubleshooting network connectivity issues, checking IP address, subnet mask, and default gateway settings.
- Example:
ipconfig /all
– Displays detailed configuration information for all interfaces.
- ping:
- Function: Tests connectivity between two devices by sending ICMP echo request packets.
- Usage: Helps diagnose network-related problems, such as checking if a host is reachable.
- Example:
ping www.example.com
– Sends ICMP echo requests to the specified domain or IP address.
- netstat:
- Function: Displays active TCP connections, listening ports, and network statistics.
- Usage: Useful for monitoring network activity, identifying open ports, and troubleshooting network issues.
- Example:
netstat -an
– Displays all active TCP connections and listening ports in numeric format.
- tasklist:
- Function: Lists all currently running processes and their associated details.
- Usage: Helps identify resource usage, terminate processes, and diagnose system performance issues.
- Example:
tasklist /v
– Displays detailed information about all running processes, including memory usage and process ID.
- taskkill:
- Function: Terminates one or more running processes.
- Usage: Useful for forcefully ending unresponsive applications or processes causing system instability.
- Example:
taskkill /f /im notepad.exe
– Terminates all instances of the Notepad process forcefully.
- systeminfo:
- Function: Displays detailed system configuration information, including OS version, hardware details, and system uptime.
- Usage: Provides a comprehensive overview of the system’s hardware and software configuration.
- Example:
systeminfo | find "System Boot Time"
– Retrieves and displays the system boot time.