1.3 KiB
1.3 KiB
Lab OS-4: Command-Line Troubleshooting
Domain:
- 1.0 Operating Systems
Works on:
- Windows
- Linux
Does not require:
- macOS
Goal
Build comfort entering commands and interpreting basic troubleshooting output.
Windows Steps
Run:
hostname
whoami
winver
ipconfig
ipconfig /all
ping 127.0.0.1
nslookup example.com
netstat -ano
sfc /scannow
ipconfig /?
Record:
- Computer name:
- Current user:
- Windows version/build:
- IPv4 address:
- Default gateway:
- DNS server:
- Loopback ping successful:
- DNS lookup successful:
- One active/listening port:
- SFC result:
Linux Steps
Run:
hostname
whoami
ip addr
ping -c 4 127.0.0.1
df -h
ps aux
top
Press q to exit top.
Record:
- Hostname:
- Current user:
- IP address:
- Root filesystem free space:
- One running process:
Safety Notes
Do not run destructive disk commands in this lab.
Know these for the exam, but do not experiment casually:
formatdiskpartrobocopywith mirror/delete optionschkdsk /forchkdsk /ron important disks without planning
What You Should Learn
ipconfig /allgives detailed IP configuration.pingtests reachability.nslookuptests DNS.netstat -anoshows connections, ports, and process IDs.sfc /scannowrepairs protected Windows system files./?shows command help.