Lniux/Windows commands

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/113

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:47 PM on 7/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

114 Terms

1
New cards
cd
Change the current directory
2
New cards
dir
List directory contents
3
New cards
ipconfig
Displays the current IP configuration (IP address, subnet mask, default gateway) for all network adapters on the local machine — the basic "what's my network config" command
4
New cards
ipconfig /all
Expands on plain ipconfig — shows full details including MAC address, DNS servers, DHCP server, lease times, and adapter descriptions, not just the summary view
5
New cards
ipconfig /release
Releases the current DHCP-assigned IP address, leaving the adapter with no IP until renewed — used when troubleshooting a bad DHCP lease
6
New cards
ipconfig /renew
Requests a new IP address from the DHCP server — typically run right after /release to force a fresh address, fixing IP conflicts or stale leases
7
New cards
ipconfig /flushdns
Clears the local DNS resolver cache, forcing the system to look up hostnames fresh instead of using stored (possibly outdated) results — useful when a site's DNS record changed but the machine keeps resolving the old address
8
New cards
ping
Sends ICMP echo request packets to a target host to test basic connectivity and measure response time — the first troubleshooting step to confirm a device is reachable
9
New cards
ping -t
Pings continuously until manually stopped (Ctrl+C) — useful for watching a connection over time to spot intermittent drops
10
New cards
netstat
Displays active TCP/UDP connections and listening ports on the local machine — helps identify what's connected to your system or what services are listening
11
New cards
netstat -a
Shows all connections and listening ports, including ones not actively established
12
New cards
nslookup
Queries a DNS server directly to resolve a hostname to an IP address (or vice versa) — used to troubleshoot DNS resolution problems specifically, separate from general connectivity
13
New cards
tracert
Traces the full path (hop by hop) packets take to reach a destination, showing each router along the way and its response time — helps pinpoint where along a route a delay or failure occurs
14
New cards
pathping
Combines ping and tracert — sends multiple pings to each hop along the route and reports packet loss percentage per hop, giving a more detailed picture of where problems are occurring than tracert alone
15
New cards
net use
Maps or manages network drives/shared resources
16
New cards
net user
Displays or manages local user accounts
17
New cards
hostname
Displays the computer's network name
18
New cards
whoami
Displays the currently logged-in user
19
New cards
winver
Displays the Windows version installed
20
New cards
[command] /?
Displays help/usage information for any command
21
New cards
chkdsk
Check a disk for file system errors and bad sectors
22
New cards
chkdsk /f
Fixes file system errors found on the volume
23
New cards
chkdsk /r
Locates bad sectors and recovers readable information
24
New cards
diskpart
Command-line disk partitioning utility (create/delete/format partitions and volumes)
25
New cards
format
Applies a filesystem to a drive/partition
26
New cards
md
Creates a new directory
27
New cards
rmdir
Removes a directory
28
New cards
robocopy
Robust directory copy tool; preserves permissions, supports resume, and can mirror/sync two locations
29
New cards
xcopy
Legacy directory copy tool; copies subdirectories but doesn't preserve permissions or support resuming
30
New cards
sfc
Scan and repair corrupted protected system files
31
New cards
sfc /scannow
Runs System File Checker's full scan-and-repair pass on protected system files
32
New cards
DISM
Repairs the underlying Windows system image, often used alongside sfc when sfc alone can't fix corruption
33
New cards
gpupdate
Force a refresh of Group Policy settings
34
New cards
gpupdate /force
Forces a full refresh of all Group Policy settings, whether changed or not
35
New cards
gpresult
Display applied Group Policy settings
36
New cards
gpresult /r
Displays a summary of Resultant Set of Policy for a user/computer
37
New cards
bootrec /fixmbr
Repairs a corrupted master boot record
38
New cards
bootrec /fixboot
Writes a new boot sector when BOOTMGR is missing/corrupt
39
New cards
bootrec /rebuildbcd
Rebuilds the Boot Configuration Data store, scanning for installed Windows OSes
40
New cards
tasklist
Displays currently running processes
41
New cards
taskkill
Terminates a running process by name or PID
42
New cards
shutdown
Shut down, restart, or log off a system from the command line
43
New cards
shutdown /r
Restarts the system
44
New cards
shutdown /s
Shuts down the system
45
New cards
ls
List directory contents
46
New cards
pwd
Print the current working directory
47
New cards
mv
Move or rename files/directories
48
New cards
cp
Copy files or directories
49
New cards
rm
Delete files or directories
50
New cards
chmod
Change file/directory permissions
51
New cards
chown
Change the owner of a file/directory
52
New cards
grep
Search text for matching patterns
53
New cards
find
Search for files/directories matching criteria
54
New cards
fsck
Check and repair a Linux filesystem
55
New cards
mount
Attach a filesystem to the directory tree
56
New cards
su
Switch to another user account
57
New cards
sudo
Execute a command with elevated (superuser) privileges
58
New cards
apt
Package manager for Debian/Ubuntu-based distributions
59
New cards
dnf
Package manager for Red Hat-based distributions
60
New cards
ip
Display/configure network interfaces
61
New cards
curl
Transfer data to/from a server via URL
62
New cards
dig
Query DNS servers for domain information
63
New cards
traceroute
Trace the network path to a destination
64
New cards
man
Display the manual/help page for a command
65
New cards
cat
Display the contents of a file
66
New cards
top
Show live, real-time system resource usage
67
New cards
ps
Display currently running processes
68
New cards
du
Show disk usage of files/directories
69
New cards
df
Show available disk space on filesystems
70
New cards
Drive (iCloud Drive)
Apple's cloud file storage and sync service
71
New cards
Gestures (macOS)
Trackpad/multitouch gesture controls for navigation
72
New cards
Finder
macOS's default file manager
73
New cards
Dock
macOS's app-launching and window-management bar
74
New cards
Continuity
Apple feature enabling seamless handoff of tasks between Apple devices
75
New cards
Disk Utility
macOS tool for managing, formatting, and repairing disks
76
New cards
FileVault
macOS full-disk encryption feature
77
New cards
Terminal (macOS)
Command-line interface for macOS
78
New cards
Force Quit
macOS feature to forcibly close an unresponsive application
79
New cards
ls
Lists directory contents (Linux)
80
New cards
pwd
Prints the current working directory (Linux)
81
New cards
mv
Moves or renames files/directories (Linux)
82
New cards
cp
Copies files or directories (Linux)
83
New cards
rm
Deletes files or directories (Linux)
84
New cards
chmod
Changes file/directory permissions (Linux)
85
New cards
chown
Changes the owner of a file/directory (Linux)
86
New cards
grep
Searches text for matching patterns (Linux)
87
New cards
find
Searches for files/directories matching criteria (Linux)
88
New cards
fsck
Checks and repairs a Linux filesystem
89
New cards
mount
Attaches a filesystem to the directory tree (Linux)
90
New cards
su
Switches to another user account (Linux)
91
New cards
sudo
Executes a command with elevated (superuser) privileges (Linux)
92
New cards
apt
Package manager for Debian/Ubuntu-based Linux distributions
93
New cards
dnf
Package manager for Red Hat-based Linux distributions
94
New cards
ip
Displays/configures network interfaces (Linux)
95
New cards
curl
Transfers data to/from a server via URL (Linux)
96
New cards
dig
Queries DNS servers for domain information (Linux)
97
New cards
traceroute
Traces the network path to a destination (Linux)
98
New cards
man
Displays the manual/help page for a command (Linux)
99
New cards
cat
Displays the contents of a file (Linux)
100
New cards
top
Shows live, real-time system resource usage (Linux)