CMD Prompts Flashcards
List active TCP/IP ports
NETSTAT
Test remote connection
PING
Show IP configuration, subnet mask, default gateway
IPCONFIG
Trace path of IP packets
TRACERT
See domain name and IP information
NSLOOKUP
Display directory contents
DIR
Delete a directory
RD
Create a directory
MD
Change directory
CD
Check for errors on hard drive
SCANDISK.EXE
Finds and fixes problems with file tables
CHKDSK
Find and fixes certain Windows files
DISM or SFC
Create new file table and blank root directory, wiping out the old table
FORMAT
List contents of a directory that are hidden
DIR /AH
Run a Linux cmd line with advanced privileges
SUDO or SU
Change file permissions in Linux
chmod
Search through text files to find specific information
GREP
Displays current directory
PWD
Directory in the root folder with all device files in Linux
/dev
First SCSI hard disk in Linux
dev/sda
Second SCSI hard disk in Linux
dev/sdb
Copy files in Linux
cp
Delete files in Linux
rm
Delete files
DEL
Copy files then delete the originals in Linux
mv