CLI Commands on the A+ Exam Flashcards

1
Q

Install and manage software packages. Linux only.

A

apt-get

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

Display or concatenate files. L/M.

A

cat

(L/M only)

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

Change the focus of the command prompt.

A

cd (all 3 OS)

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

Scan, detect, and repair file system issues and errors. Win.

A

chkdsk

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

Change file permissions. L/M.

A

chmod

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

Change file owner and group. L/M.

A

chown

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

Copy files. Win/L/M. (2)

A
  1. Win - copy
  2. L/M - cp
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Permanently delete files. Win/L/M. (2)

A
  1. Win - del
  2. L/M - rm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Query DNS servers for information. L/M.

A

dig

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

List files and directories in a directory. Win/L/M.

A
  1. Win - dir
  2. L/M - ls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Access the advanced disk partitioning tool. Be careful—there’s no safety net. Win.

A

diskpart

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

Display the number of 1K blocks of free disk space. L/M.

A

df

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

Search for files and directories. L/M.

A

find

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

Format data storage volumes. Win.

A

format

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

Report the effective group policy for a system or user. Win.

A

gpresult

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

Update group policy settings. Win.

A

gpupdate

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

Search text files or command output. L/M.

A

grep

18
Q

Display command documentation. Win/L/M.

A
  1. Win - help
  2. L/M - man
19
Q

Check status of and configure network interfaces. Win/L/M.

A
  1. Win - ipconfig
  2. L/M - ip
20
Q

Create a new directory. Win/L/M.

A
  1. Win - md
  2. L/M - mkdir
21
Q

Move files. Win/L/M.

A
  1. Win - move
  2. L/M - mv
22
Q

Open a text file in a text-based editing app. L/M.

A

nano

23
Q

Map network shares. Win.

A

net use

24
Q

Activate the hidden local administrator account. Win.

A

net user

25
Q

Show network status information, such as connections. Win/L/M.

A
  1. Win - netstat
  2. L/M - netstat
26
Q

Check what IP address your DNS server reports for a host name. Win/L/M.

A
  1. Win - nslookup
  2. L/M - nslookup
27
Q

Identify the routers on the path to the domain provided and ping each router on the path to compute latency. Win.

A

pathping

28
Q

Check how quickly a remote network system responds. Win/L/M.

A
  1. Win - ping
  2. L/M - ping
29
Q

List processes. L/M.

A

ps

30
Q

Show your present working directory path. L/M.

A

pwd

31
Q

Delete (remove) a directory. Win/L/M.

A
  1. Win - rd
  2. L/M - rmdir
32
Q

Perform advanced file copying across a network. Win.

A

robocopy

33
Q

Scan for missing/corrupt system files and replace them. Win.

A

sfc

34
Q

Shut down or reboot a local or remote computer. Win/L/M.

A
  1. Win - shutdown
  2. L/M - shutdown
35
Q

Change authenticated user account (usually to root). L/M.

A

su

36
Q

Perform a single command with another account (usually root). L/M.

A

sudo

37
Q

Show running processes and kernel-managed tasks. L/M.

A

top

38
Q

Check the network path to a remote system. Win/L/M.

A
  1. Win - tracert
  2. L/M - traceroute
39
Q

Display the Windows edition, version, build number, and trademark information. Win.

A

winver

40
Q

Install and manage packages. L/M.

A

yum