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.

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.

23
Q

Map network shares. Win.

24
Q

Activate the hidden local administrator account. Win.

25
Show network status information, such as connections. Win/L/M.
1. Win - netstat 2. L/M - netstat
26
Check what IP address your DNS server reports for a host name. Win/L/M.
1. Win - nslookup 2. L/M - nslookup
27
Identify the routers on the path to the domain provided and ping each router on the path to compute latency. Win.
pathping
28
Check how quickly a remote network system responds. Win/L/M.
1. Win - ping 2. L/M - ping
29
List processes. L/M.
ps
30
Show your present working directory path. L/M.
pwd
31
Delete (remove) a directory. Win/L/M.
1. Win - rd 2. L/M - rmdir
32
Perform advanced file copying across a network. Win.
robocopy
33
Scan for missing/corrupt system files and replace them. Win.
sfc
34
Shut down or reboot a local or remote computer. Win/L/M.
1. Win - shutdown 2. L/M - shutdown
35
Change authenticated user account (usually to root). L/M.
su
36
Perform a single command with another account (usually root). L/M.
sudo
37
Show running processes and kernel-managed tasks. L/M.
top
38
Check the network path to a remote system. Win/L/M.
1. Win - tracert 2. L/M - traceroute
39
Display the Windows edition, version, build number, and trademark information. Win.
winver
40
Install and manage packages. L/M.
yum