Command Line Tools Flashcards
cd
used to navigate the directory structure.
dir
displays information about the contents of the current directory.
md
create a directory
rmdir
Command-line tool for deleting directories.
ipconfig
provides information about own network connection
ping
verifies there is good connectivity between the client and the
remote destination
hostname
a label assigned to a device (a host) on a network
netstat
can be used to investigate open ports and connections on the local host. In a troubleshooting context, you can use this tool to verify whether file sharing or email ports are open on a server and whether other clients are connecting to them.
nslookup
Cross-platform command tool for querying DNS resource records.
chkdsk
scans the file system and/or disk sectors for faults and can attempt to repair any problems detected.
net user
manage accounts at the command line
net use
use to view and configure shared resources on a Windows network.
tracert
shows each and every stop along the way by using multiple pings all the way out and all the way back
format
writes a new file system to a drive. This process deletes any data existing on the drive.
xcopy
utility that allows you to copy the contents of more than one directory at a time and retain the directory structure
copy
provide the ability to transfer files contained in a single directory.
robocopy
file copy utility- designed to work better with long file names and NTFS attributes.
gpupdate
Command-line tools to apply and analyze group policies. Group policies are a means of configuring registry settings.
gpresult
This command displays the RSoP for a computer and user account. When run without switches, the help page is displayed. The /s , /u , and /p switches can be used to specify a host (by name or IP address), user account, and password, and /r can be used to display policies for the desktop.
shutdown
Command-line tool for shutting down or restarting the computer. The command is supported by Windows and Linux, though with different syntax.
sfc
Provides a manual interface for verifying system files and restoring them from the cache
diskpart
Command-line utility used to configure disk partitions.
pathping
gives a more accurate round-trip time being calculated
winver
reports version information. You will often need to use this for support.