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
Q

Copy files then delete the originals in Linux

A

mv

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

General, boot, services, startup, and tools

A

MSCONFIG

27
Q

Open blank Microsoft Management Console

A

MMC

28
Q

Open RDP

A

MSTSC

29
Q

System information utility that includes all hardware and software

A

MSINFO32

30
Q

Edit the BOOT.INI file

A

BOOTCFG

31
Q

Edit the registry

A

REGEDIT

32
Q

View/edit NTFS permissions

A

CACLS

33
Q

Inspect all device drivers and verify which drivers are signed and unsigned

A

SIGVERIF

34
Q

Delete directories and subdirectories in Linux

A

rmdir -r

35
Q

Remove subdirectories switch

A

RD /S

36
Q

Take ownership of a Linux file

A

chown

37
Q

Change a user’s password

A

PASSWD

38
Q

See files that are hidden

A

DIR /A

39
Q

See folders and subfolders

A

DIR /S

40
Q

See all capabilities the DIR command can offer

A

DIR /?

41
Q

See a directory listing a page at a time

A

DIR /P

42
Q

Prepare systems for mass deployment

A

SYSPREP

43
Q

Partition hard drives

A

DISKPART

44
Q

Show active processes in Linux

A

ps

45
Q

Show active policies

A

GPRESULT

46
Q

Kill active processes

A

TASKKILL

47
Q

Show active processes and PIDs

A

TASKLIST

48
Q

Powerful copying command

A

ROBOCOPY

49
Q

Partitioning tool

A

FDISK

50
Q

Bit-by-bit copy command

A

DD

51
Q

Remove the ability of standard users to shut down or restart computers

A

GPEDIT.MSC

52
Q

List files and directories

A

LS

53
Q

List files and directories with detail

A

LS-L

54
Q

Folder management utility in Linux

A

mkdir

55
Q

Shows the status of all listening and non-listening sockets

A

NETSTAT -A

56
Q

Shows the status of all listening and non-listening sockets in numerics

A

NETSTAT -A -N

57
Q

Shows all the computers on your network

A

NET VIEW

58
Q

Shows file shares on a specific computer

A

NET VIEW w/ computer name

59
Q

See what file shares are on your network

A

NET SHARE

60
Q

Share a file with others on your network

A

NET SHARE SHAREIT=pathname

61
Q

Use someone else’s share

A

NET USE assignletter \computername\pathname

62
Q

Create user on computer

A

NET USER name password /add

63
Q

Delete user on account

A

NET USER name /delete