Chapter 18 Quiz Flashcards
Match the script file extension to the description.
.bat—————————-Windows batch file
.ps1—————————-Windows PowerShell script file
.vbs—————————-VBScript file
.sh——————————Unix or Linux shell script file
.py——————————Python script file
.js——————————-JavaScript file
Use ______________________ to put a macOS computer to sleep, log out, restart, or shut down the system.
Apple Menu
What two commands are used to change the permissions and ownership of a file or directory in Linux?
chmod
chown
If you need to redirect the output from a command, what symbol should you use?
>
A variation of the ________ operating system, Linux was created by Linus Torvalds.
UNIX
Programs that automatically launch at startup are called login items. (true/false)
false
Which of the following is the current Linux file system used to hold the operating system?
ext4
Windows can read from storage devices that are using the APFS. (true/false)
false
What command lets you view the contents of a file?
cat
On Linux, where are the commands required for system administration stored?
/sbin
Start
Match the scripting term to the description.
$X
%TEMP%
“Press any key”
“sample text”
Loop
9
1424
Start——————–PowerShell comment
$X————————-Variable
%TEMP%—————-Windows environment variable
“Press any key”——-String (1)
“sample text”———String (2)
Loop———————Executes the same commands until a condition is met
9————————–Integer (1)
1424———————Integer (2)
A ____________ file is a disk image file for a Mac and is similar to WIM or ISO files in Windows.
dmg
__________________________ gives you a quick view of all open windows and desktops and lets you switch among them.
mission control
Versions of Linux are called distributions or ___________.
flavors
What user account is known as the system administrator or superuser account?
root
What keypress sequence is used to open the Force Quit window on a Mac?
command+option+esc
Basic versions of LINUX OS are open source, and all the underlying programming instructions (called __________ code) are freely distributed.
source
The ________________________ window is used to change and customize macOS settings and is similar to the Settings app in Windows 10.
system preferences
In order to break out of a Linux command or process on a terminal, what keys should you press?
ctrl+c
A technician is logged in to a Linux computer as johnd and needs to reset group ownership for the file report.txt in the johnd home directory. Which of the following commands will perform this function?
chown
In macOS, the ___________________ window functions something like File Explorer in Windows; use it to find and access files, applications, and utility programs.
Finder
What is the name of the macOS built-in backup utility?
Time Machine
In order to ensure that a Mac has no startup items, what two directories should you check for items?
/System/Library/StartupItems
/Library/StartupItems
_________________ is the macOS built-in password manager utility.
Keychain
A bootable Linux USB flash drive or CD that can be used to repair system issues is known by what term, respectively?
Live USB or Live CD
The macOS disk utility tool called __________________________ scans a hard drive or other storage device for file system errors and repairs them.
First Aid