CMD Prompts Flashcards

1
Q

List active TCP/IP ports

A

NETSTAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Test remote connection

A

PING

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Show IP configuration, subnet mask, default gateway

A

IPCONFIG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Trace path of IP packets

A

TRACERT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

See domain name and IP information

A

NSLOOKUP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Display directory contents

A

DIR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Delete a directory

A

RD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Create a directory

A

MD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Change directory

A

CD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Check for errors on hard drive

A

SCANDISK.EXE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Finds and fixes problems with file tables

A

CHKDSK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Find and fixes certain Windows files

A

DISM or SFC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Create new file table and blank root directory, wiping out the old table

A

FORMAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List contents of a directory that are hidden

A

DIR /AH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Run a Linux cmd line with advanced privileges

A

SUDO or SU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Change file permissions in Linux

A

chmod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Search through text files to find specific information

A

GREP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Displays current directory

A

PWD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Directory in the root folder with all device files in Linux

A

/dev

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

First SCSI hard disk in Linux

A

dev/sda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Second SCSI hard disk in Linux

A

dev/sdb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Copy files in Linux

A

cp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Delete files in Linux

A

rm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Delete files

A

DEL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Copy files then delete the originals in Linux
mv
26
General, boot, services, startup, and tools
MSCONFIG
27
Open blank Microsoft Management Console
MMC
28
Open RDP
MSTSC
29
System information utility that includes all hardware and software
MSINFO32
30
Edit the BOOT.INI file
BOOTCFG
31
Edit the registry
REGEDIT
32
View/edit NTFS permissions
CACLS
33
Inspect all device drivers and verify which drivers are signed and unsigned
SIGVERIF
34
Delete directories and subdirectories in Linux
rmdir -r
35
Remove subdirectories switch
RD /S
36
Take ownership of a Linux file
chown
37
Change a user's password
PASSWD
38
See files that are hidden
DIR /A
39
See folders and subfolders
DIR /S
40
See all capabilities the DIR command can offer
DIR /?
41
See a directory listing a page at a time
DIR /P
42
Prepare systems for mass deployment
SYSPREP
43
Partition hard drives
DISKPART
44
Show active processes in Linux
ps
45
Show active policies
GPRESULT
46
Kill active processes
TASKKILL
47
Show active processes and PIDs
TASKLIST
48
Powerful copying command
ROBOCOPY
49
Partitioning tool
FDISK
50
Bit-by-bit copy command
DD
51
Remove the ability of standard users to shut down or restart computers
GPEDIT.MSC
52
List files and directories
LS
53
List files and directories with detail
LS-L
54
Folder management utility in Linux
mkdir
55
Shows the status of all listening and non-listening sockets
NETSTAT -A
56
Shows the status of all listening and non-listening sockets in numerics
NETSTAT -A -N
57
Shows all the computers on your network
NET VIEW
58
Shows file shares on a specific computer
NET VIEW w/ computer name
59
See what file shares are on your network
NET SHARE
60
Share a file with others on your network
NET SHARE SHAREIT=pathname
61
Use someone else's share
NET USE assignletter \\computername\pathname
62
Create user on computer
NET USER name password /add
63
Delete user on account
NET USER name /delete