0% found this document useful (0 votes)
16 views5 pages

Command Line Shutdown Guide

The document outlines various command line utilities for managing system operations, including SHUTDOWN for controlling shutdown processes, SYSTEMINFO for retrieving system details, and IPCONFIG for displaying network configurations. It also covers commands like NETSTAT for monitoring network statistics, TRACERT for tracing packet routes, and PING for checking connectivity. Additional commands include TASKLIST for listing running processes, TASKKILL for terminating tasks, ATTRIB for changing file attributes, and COPY CON for creating files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

Command Line Shutdown Guide

The document outlines various command line utilities for managing system operations, including SHUTDOWN for controlling shutdown processes, SYSTEMINFO for retrieving system details, and IPCONFIG for displaying network configurations. It also covers commands like NETSTAT for monitoring network statistics, TRACERT for tracing packet routes, and PING for checking connectivity. Additional commands include TASKLIST for listing running processes, TASKKILL for terminating tasks, ATTRIB for changing file attributes, and COPY CON for creating files.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

SHUTDOWN (Turn off Computer)

SHUTDOWN offers control over your system's shutdown process. You can restart, shut down, or even
plan shutdowns through the command line.
 Syntax: shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/fw] [/f] [/m \
computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]
 Example: shutdown /I -> Open a graphical interface to shutdown computer
shutdown /i

SYSTEMINFO (System Information)


SYSTEMINFO provides a wealth of system-related information, including details about your operating
system, network, and hardware.
 Syntax: systeminfo [/s <computer> [/u <domain><username> [/p <password>]]] [/fo {TABLE |
LIST | CSV}] [/nh]
 Example: C:\Users\systeminfo

IPCONFIG (IP Configuration)


Purpose: Displays detailed network configuration information, including IP address, subnet mask,
default gateway, and more.
 Syntax: ipconfig [/all] [/renew [<adapter>]] [/release [<adapter>]] [/flushdns] [/displaydns]
[/registerdns] [/showclassid <adapter>] [/setclassid <adapter> [<classID>]]
ipconfig
NETSTAT (Network Statistics)
Purpose: Provides a snapshot of active network connections and protocol statistics, aiding in
monitoring network performance and identifying issues.
 Syntax: netstat [-a] [-b] [-e] [-n] [-o] [-p <Protocol>] [-r] [-s] [<interval>]
netstat
TRACERT (Trace Route)
Purpose: Traces the route that packets take to reach a destination, displaying hop-by-hop information
and helping pinpoint network latency or failures.
Syntax: tracert [/d] [/h <maximumhops>] [/j <hostlist>] [/w <timeout>] [/R] [/S <srcaddr>] [/4] [/6]
<targetname>

PING (Send Test Packets)


Purpose: Sends ICMP echo requests to a target host, checking network connectivity and measuring
response times.

TASKLIST (List Processes)


TASKLIST displays a list of currently running processes, similar to the information available in Task
Manager but accessible via CMD.

Syntax: TASKLIST [/S system] [/U username] [/P password] [/M [module]] [/SVC] [/V] [/FI filter] [/FO
format] [/NH] Example: TASKLIST /FI "IMAGENAME eq [Link]"
TASKLIST
TASKKILL (Terminate Tasks by Process ID or Image Name)
Ends one or more tasks or processes. The example command forcefully terminates all instances of
Notepad.
 Syntax: TASKKILL [/S system] [/U username] [/FI filter] [/PID processid | /IM imagename] [/T]
[/F] Example: TASKKILL /IM [Link] /F

TASKKILL
ATTRIB (Change File Attributes)
This command is used to change file attributes. +R sets the file as read-only, -R removes read-only
status, +H makes the file hidden, etc.

 Syntax: ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [drive:][path][filename] [/S [/D]] Example:
ATTRIB +R C:\[Link]
ATTRIB

Ex: attrib +h +s +r [Link]

COPY CON
It is used to create file name

Usage: COPY CON [Link]

ctrl+z (enter)

You might also like