Command Line Utilities Flashcards
Command Line utility: displays the name of or changes the current directory
cd
Command Line utility: displays a list of files and subdirectories in a directory
dir
Command Line utility: creates a directory
md or mkdir
Command Line utility: removes (deletes) a directory
rmdir
Command Line utility: removes all directories and files in the specified directory in addition to the directory itself.
rmdir /S
Command Line utility: displays only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP.
ipconfig
Command Line utility: display full internet configuration information
ipconfig /all
Command Line utility: release the IPv4 address for the specified adapter
ipconfig /release
Command Line utility: renew the IPv4 address for the specified adapter
ipconfig /renew
Command Line utility: purges the DNS Resolver cache
ipconfig /flushdns
Command Line utility: pings the specified host
ping [host]
Command Line utility: prints the name of the current host
hostname
Command Line utility: displays protocol statistics and current TCP/IP network connections
netstat
Command Line utility: displays all connections and listening ports
netstat -a
Command Line utility: displays dns name of ip address and local gateway
nslookup [IP address]
Command Line utility: checks a disk and displays a status report
chkdsk [volume]
Command Line utility: displays user accounts for current machine. It allows you to manage your local and even your domain users from the command line. It’s mainly used to quickly add, delete or disable user accounts from the command line
net user
Command Line utility: a command line method of mapping network drives to your local computer
net use
Command Line utility: displays ‘hops’ and latency of ‘hop’ needed to get from the current IP to the destination IP
tracert [target name or IP]
Command Line utility: formats a disk for use with windows
format
Command Line utility: copies files and directory trees
xcopy [source] [destination]
Command Line utility: copies one or more files to another location.
copy
Command Line utility: robust file copy for windows
robocopy
Command Line utility: updates multiple group policy settings
gpupdate
Command Line utility: displays the resultant set of policy (RSoP) information for a target user and computer
gpresult
Command Line utility: shuts down the computer or specified computer with options
shutdown
Command Line utility: admin only, scans the integrity of all protected system files and replaces incorrect versions with correct microsoft versions
sfc
Command Line utility: starts disk partituon utility
diskpart
Command Line utility: traces route and ‘hops’ of user to destination ip
pathping
Command Line utility: displays windows version, os build and type of installation, ex win 10 home
winver