Working with macOS and Linux Flashcards
Within a Linux terminal, you want to see all the files on your system in long format (using the -1 option) including any hidden files (which requires the -a option). Which command should you use?
1s -a l 1s -1
1s -s; 1s -1
1s - 1a
1s - 1a
The command ls -la will list all of the files in a long format. The command ls -a | ls-l will not work. The ls -s; ls -a will show two listings: one with the size and the other with all of the files. The ls -a\ls -l command will show two listings—one with all of the files and the other in a long format—but it will not show all of the files in a long format
Which of the following allows you to install Windows on a Mac machine and choose between operating systems upon boot up?
Keychain
Finder
Boot Camp
Boot Camp
Boot Camp allows you to install Windows on a Mac. Keychain is a tool that saves credentials so that the user does not need to be prompted. Mission Control is a quick way on macOS to view what is currently running. Finder is the macOS equivalent to Windows File Explorer
As part of your training program, you’re trying to convince users to make backups on a regular basis. Which Apple app can be used to make backups of various types on a regular basis?
Time Machine
Finder
Keychain
Time Machine
Time Machine is the Apple application that can be used to create backups on a regular basis. Finder is the macOS equivalent to Windows File Explorer. VSS is a Windows technology that is used to create snapshots of a volume. Keychain is a tool that saves credentials so that the user does not need to be prompted
Which of the following Linux commands/utilities can be used to edit a file?
ps
vi
rm
vi
The vi command is used to edit files. The ps command lists processes running. The rm command removes files or directories. The ls command lists files and folders in the filesystem
Which of the following Linux commands/utilities can be used to edit a wireless connection’s configuration settings?
apt-get
iwconfig
pwd
iwconfig
The iwconfig command can be used to edit a wireless connection’s configuration settings. The dd command is used to duplicate disks. The apt-get command is used with the APT package management system for downloading packages. The pwd command will show the current working directory
Which of the following is a macOS feature for password management?
Spotlight
Keychain
Gestures
Keychain
Keychain is a tool that saves credentials so that the user does not need to be prompted. Spotlight is a utility in macOS that allows a search of the operating system and Internet for search terms. The Dock is the macOS application menu that is located on the bottom of the screen. Gestures allow you to use more than one finger on the trackpad to perform different functions
The interpreter in Linux between the operating system and the user is known as the…
Shell
Translator
Login
Shell
The shell is the interpreter in Linux between the operating system and the user. The translator is a wrong answer. Login is something you perform to access the shell. The graphical user interface (GUI) does not interpret commands and therefore is not considered an interpreter
What type of backups is kept on - site at the computer centre for immediate recovery purposes?
Cloud copies
Journal copies
Working copies
Working copies
Working copies are backups that are kept on-site at the computer center for immediate recovery purposes. Man-in-the-middle is an attack where an eavesdropper listens between two people or devices. Cloud copies are backups that are sent to cloud storage and cannot be immediately recovered. Journal copies is a wrong answer
Which of the following utilities can be used in Linux to download patches for installation on a workstation?
update
apt - get
patch
apt - get
The apt-get utility can be used to download and apply patches to a Linux installation. The update command is not a utility. Shell/terminal is an interface for interacting with the operating system with the command line. The patch command is not a utility
Which of the following commands can be used to change the owner of a file to a new owner in Linux?
chmod
chown
pwd
chown
The chown command is used to change ownership of a file. The cd command changes the working directory. The chmod command changes permissions on files. The pwd command displays the current working directory
Which Linux utility can be used to check and repair disks?
fsck
chkdsk
du
fsck
The fsck Linux utility is used to check and repair disks. The chkdsk utility is a Windows utility used to check and repair disks. The du utility is used to show the current disk usage. dumgr is not a utility and is a wrong answer
Your iPad has an application that will not stop running. What feature/tool can you use to stop it?
Force Quit
Task Manager
Close Quit
Force Quit
By pressing the home button twice on an iPad, you can Force Quit an application that will not stop running. The kill utility can be used only at the command line of Linux/macOS. The Task Manager is a Windows utility. Close Quit is not a feature and therefore a wrong answer
Which of the following is the most common shell used with Linux?
Terminal
Bash
SSH
Bash
Bash is the most common command-line shell used with Linux. Tcl/Tk is a shell used with Linux, but it is very uncommon. Terminal is a utility used to access the command-line shell. SSH, or Secure Shell, is a secure protocol used to access the shell over a network
What is the name of the area at the bottom of a macOS screen where, by default, a bar of crucial icons appears?
Footer
Taskbar
Dock
Dock
The Dock is the area at the bottom of the macOS screen that is used to launch applications. The footer is not a valid answer. Mission Control is a macOS feature that allows you to see all the applications running. The Taskbar is a Windows Desktop element that is used to track running applications and quickly launch them
Which key combination can you use to bring up Spotlight from within an app?
Control+Shift
Options+Tab
Command+spacebar
Command+spacebar
The Command+spacebar key combination will bring up the Spotlight utility. Control+Shift, Option+Tab, and Alt+Home are wrong answers