CLI Commands on the A+ Exam Flashcards
Install and manage software packages. Linux only.
apt-get
Display or concatenate files. L/M.
cat
(L/M only)
Change the focus of the command prompt.
cd (all 3 OS)
Scan, detect, and repair file system issues and errors. Win.
chkdsk
Change file permissions. L/M.
chmod
Change file owner and group. L/M.
chown
Copy files. Win/L/M. (2)
- Win - copy
- L/M - cp
Permanently delete files. Win/L/M. (2)
- Win - del
- L/M - rm
Query DNS servers for information. L/M.
dig
List files and directories in a directory. Win/L/M.
- Win - dir
- L/M - ls
Access the advanced disk partitioning tool. Be careful—there’s no safety net. Win.
diskpart
Display the number of 1K blocks of free disk space. L/M.
df
Search for files and directories. L/M.
find
Format data storage volumes. Win.
format
Report the effective group policy for a system or user. Win.
gpresult
Update group policy settings. Win.
gpupdate
Search text files or command output. L/M.
grep
Display command documentation. Win/L/M.
- Win - help
- L/M - man
Check status of and configure network interfaces. Win/L/M.
- Win - ipconfig
- L/M - ip
Create a new directory. Win/L/M.
- Win - md
- L/M - mkdir
Move files. Win/L/M.
- Win - move
- L/M - mv
Open a text file in a text-based editing app. L/M.
nano
Map network shares. Win.
net use
Activate the hidden local administrator account. Win.
net user
Show network status information, such as connections. Win/L/M.
- Win - netstat
- L/M - netstat
Check what IP address your DNS server reports for a host name. Win/L/M.
- Win - nslookup
- L/M - nslookup
Identify the routers on the path to the domain provided and ping each router on the path to compute latency. Win.
pathping
Check how quickly a remote network system responds. Win/L/M.
- Win - ping
- L/M - ping
List processes. L/M.
ps
Show your present working directory path. L/M.
pwd
Delete (remove) a directory. Win/L/M.
- Win - rd
- L/M - rmdir
Perform advanced file copying across a network. Win.
robocopy
Scan for missing/corrupt system files and replace them. Win.
sfc
Shut down or reboot a local or remote computer. Win/L/M.
- Win - shutdown
- L/M - shutdown
Change authenticated user account (usually to root). L/M.
su
Perform a single command with another account (usually root). L/M.
sudo
Show running processes and kernel-managed tasks. L/M.
top
Check the network path to a remote system. Win/L/M.
- Win - tracert
- L/M - traceroute
Display the Windows edition, version, build number, and trademark information. Win.
winver
Install and manage packages. L/M.
yum