Learn
Linux and Windows Commands
Everyday commands for checking connectivity, name resolution, files, and processes. The focus is purpose and how to read the output.
- Pick a command that answers the question you actually have
- Interpret a short sample of real output
- Know which commands belong to Linux, Windows, or both
Connectivity
- ping
Sends an echo request to test whether a host replies.
- Test-NetConnection
A PowerShell cmdlet that tests reachability and a specific TCP port.
- traceroute
Lists the routers a packet passes through on the way to a destination.
Addressing
- arp command
Shows the local cache of protocol-to-hardware address mappings.
- ifconfig
An older Unix command for interface addresses and status.
- ip
The modern Linux utility for addresses, links, and routes.
- ipconfig
Shows Windows address, mask, gateway, and related settings.
- route
Shows the table a host uses to choose the next hop.
Sockets
Name resolution
Identity
Files
Web
Services
- systemctl
Controls and inspects services on Linux systems that use systemd.
Processes
- Get-Process
A PowerShell cmdlet that lists processes and their resource use.
- tasklist
Lists running processes on Windows.