Command Center · Reference 07

Competition Command Index

One fast index for Windows 11, Windows Server, Linux, Cisco, networking, and forensics.

Use this when you know what you need to inspect but cannot remember the exact command. Open the full platform reference for cautions and deeper context.

Fast rule

Find taskChoose command
RunInspect first
InterpretUse context
FinishVerify

Important

The index gives commands, not automatic answers

Interpret output with scenario requirements, host role, account context, service dependencies, timestamps, and corroborating evidence.

Task lookup

Find the right command family quickly

Need users?

Get-LocalUser / getent passwd

Need admin or sudo membership?

Get-LocalGroupMember -Group "Administrators" / getent group sudo

Need services?

Get-Service / systemctl --type=service --state=running

Need process details?

Get-CimInstance Win32_Process / ps -eo pid,ppid,user,lstart,cmd

Need listeners?

Get-NetTCPConnection -State Listen / ss -tulpn

Need connections?

Get-NetTCPConnection / ss -tpn

Need routes?

route print / ip route / show ip route

Need logs?

Get-WinEvent / journalctl / /var/log/auth.log

Need scheduled activity?

Get-ScheduledTask / crontab -l / systemctl list-timers --all

Need file identity?

Get-FileHash / sha256sum

Need file metadata?

Get-Item / stat

Need firewall state?

Get-NetFirewallProfile / ufw status verbose / show access-lists

Need VLAN state?

show vlan brief / show interfaces trunk

Need interface state?

show ip interface brief / ip addr / Get-NetIPConfiguration

Command index

Windows 11

Use the full quick-reference page when you need interpretation or cautions.

TaskCommandWhat it gives you
UsersGet-LocalUserList local users.
AdministratorsGet-LocalGroupMember -Group "Administrators"Show local administrators.
ServicesGet-ServiceList services and state.
Service detailGet-CimInstance Win32_Service | Select Name,State,StartMode,StartName,PathNameShow service account, path, mode, and state.
ProcessesGet-CimInstance Win32_Process | Select ProcessId,ParentProcessId,Name,ExecutablePath,CommandLineShow PID, parent, path, and command line.
Scheduled tasksGet-ScheduledTaskList scheduled tasks.
FirewallGet-NetFirewallProfileShow firewall profile state.
IP configipconfig /allShow addresses, gateways, DNS, and DHCP.
ListenersGet-NetTCPConnection -State ListenShow listening TCP sockets.
ConnectionsGet-NetTCPConnectionShow TCP states and owning PIDs.
Routesroute printShow routing tables.
Security logGet-WinEvent -LogName Security -MaxEvents 50Show recent Security events.
File hashGet-FileHash "C:\Path\To\File" -Algorithm SHA256Calculate SHA-256.
File metadataGet-Item "C:\Path\To\File" | Format-List Name,Length,CreationTime,LastWriteTime,AttributesShow file metadata.
StartupGet-CimInstance Win32_StartupCommandShow startup commands.
DefenderGet-MpComputerStatusShow Defender status.
UpdatesGet-HotFix | Sort-Object InstalledOn -DescendingShow visible hotfix history.

Command index

Windows Server

Use the full quick-reference page when you need interpretation or cautions.

TaskCommandWhat it gives you
RolesGet-WindowsFeatureList server roles and features.
Installed rolesGet-WindowsFeature | Where-Object InstalledShow installed roles/features.
Domain roleGet-ComputerInfo | Select CsDomain,CsDomainRole,CsNameShow domain and server-role context.
AD usersGet-ADUser -Filter *List AD users when the AD module is available.
AD groupsGet-ADGroup -Filter *List AD groups.
Domain AdminsGet-ADGroupMember -Identity "Domain Admins"Show Domain Admins membership.
SharesGet-SmbShareList SMB shares.
SMB sessionsGet-SmbSessionShow current SMB sessions.
Open SMB filesGet-SmbOpenFileShow files opened through SMB.
IP configGet-NetIPConfigurationShow IP, gateway, DNS, and interface data.
DNS serversGet-DnsClientServerAddressShow DNS assignments.
ListenersGet-NetTCPConnection -State ListenShow TCP listeners.
Directory logGet-WinEvent -LogName 'Directory Service' -MaxEvents 100Show Directory Service events where available.

Command index

Linux

Use the full quick-reference page when you need interpretation or cautions.

TaskCommandWhat it gives you
Usersgetent passwdList visible users.
Groupsgetent groupList visible groups.
User detailid <username>Show UID, GID, and groups.
SessionswhoShow current logins.
Login historylastShow recent login history.
Sudo groupgetent group sudoShow sudo-group membership.
Sudo rightssudo -l -U <username>Show sudo permissions for a user.
Permissionsls -l <path>Show owner, group, and mode bits.
Metadatastat <path>Show timestamps, ownership, mode, and inode.
Packagesdpkg -lList installed Debian packages.
Running servicessystemctl --type=service --state=runningList running services.
Service statussystemctl status <service>Show service state and recent logs.
Processesps -eo pid,ppid,user,lstart,cmd --sort=pidShow detailed process state.
Process treepstree -apShow process parent-child relationships.
Interfacesip addrShow interfaces and addresses.
Routesip routeShow routes.
Listenersss -tulpnShow listening TCP/UDP sockets.
Connectionsss -tpnShow active TCP connections.
Firewallsudo ufw status verboseShow UFW state and rules.
Journaljournalctl -u <service> --since "2 hours ago"Show recent service logs.
Auth logsudo tail -n 100 /var/log/auth.logShow recent authentication events.
Croncrontab -lShow current user's cron jobs.
Timerssystemctl list-timers --allShow systemd timers.
SSHsystemctl status sshShow SSH service state.
Hashsha256sum <file>Calculate SHA-256.
File typefile <file>Identify file type by content.

Command index

Cisco & Networking

Use the full quick-reference page when you need interpretation or cautions.

TaskCommandWhat it gives you
Baselineshow versionShow IOS, uptime, hardware, and image details.
Running configshow running-configShow active configuration.
Startup configshow startup-configShow saved configuration.
Interfacesshow ip interface briefShow interface IP and status.
Interface detailshow interfacesShow detailed interface counters/state.
Routesshow ip routeShow IPv4 routing table.
ARPshow arpShow IPv4-to-MAC mappings.
IPv6show ipv6 interface briefShow IPv6 interface addresses/state.
MAC tableshow mac address-tableShow learned MAC addresses.
VLANsshow vlan briefShow VLANs and access-port membership.
Trunksshow interfaces trunkShow trunk state and allowed VLANs.
Switchportshow interfaces switchportShow access/trunk details.
Spanning treeshow spanning-treeShow root, roles, and STP state.
ACLsshow access-listsShow ACL entries and counters.
ACL applicationshow ip interfaceShow ACLs applied to interfaces.
Port securityshow port-securityShow port-security summary.
DHCP bindingsshow ip dhcp bindingShow DHCP leases.
SSHshow ip sshShow SSH status.
CDPshow cdp neighbors detailShow Cisco neighbor details.
LLDPshow lldp neighbors detailShow LLDP neighbor details.
Loggingshow loggingShow logging config and buffered messages.
NTPshow ntp statusShow time synchronization state.
Pingping <destination>Test reachability.
Traceroutetraceroute <destination>Show path toward a destination.

Command index

Forensics

Use the full quick-reference page when you need interpretation or cautions.

TaskCommandWhat it gives you
Windows hashGet-FileHash "C:\Path\To\File" -Algorithm SHA256Hash a Windows file.
Linux hashsha256sum <file>Hash a Linux file.
Windows metadataGet-Item "C:\Path\To\File" | Format-List Name,Length,CreationTime,LastWriteTime,AttributesShow Windows file metadata.
Linux metadatastat <file>Show Linux file metadata.
Windows processesGet-CimInstance Win32_Process | Select ProcessId,ParentProcessId,Name,ExecutablePath,CommandLineShow detailed process evidence.
Linux processesps -eo pid,ppid,user,lstart,cmd --sort=pidShow detailed process evidence.
Windows listenersGet-NetTCPConnection -State ListenShow Windows listeners.
Linux listenersss -tulpnShow Linux listeners.
Windows tasksGet-ScheduledTaskList scheduled tasks.
Linux croncrontab -lShow current user's cron jobs.
Linux timerssystemctl list-timers --allShow systemd timers.
Security eventsGet-WinEvent -LogName Security -MaxEvents 100Show recent Security events.
Linux authsudo tail -n 100 /var/log/auth.logShow recent auth events.
Alternate streamsGet-Item "C:\Path\To\File" -Stream *List NTFS alternate data streams.
Hidden Linux filesls -la <path>Show hidden entries and metadata.

Competition rules

Keep the index fast without becoming careless

01

Use read-only commands first.

02

Record current state before changing configuration.

03

Check scenario requirements before disabling services or remote access.

04

Map ports to owning processes or services.

05

Treat privilege as capability, not proof of action.

06

Treat a task or timer as configured state, not proof of execution.

07

Treat a hash as file identity, not a safety verdict.

08

Corroborate important conclusions with another source.

09

After remediation, re-run the command that proves the intended result.