Chapter 20 ■ Working with macOS and Linux Flashcards

1
Q
  1. Within a Linux terminal, you want to see all the files on your system in long format (using
    the –l option), including any hidden files (which requires the –a option). Which command
    should you use?
    A. ls –a | ls -l
    B. ls –s; ls -l
    C. ls -la
    D. ls –a\ls -l
A

C. ls -la

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Which of the following allows you to install Windows on a Mac machine and choose
    between operating systems upon boot up?
    A. Keychain
    B. Mission Control
    C. Finder
    D. Boot Camp
A

D. Boot Camp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. 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?
    A. Time Machine
    B. Finder
    C. VSS
    D. Keychain
A

A. Time Machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Which of the following Linux commands/utilities can be used to edit a file?
    A. ps
    B. vi
    C. rm
    D. ls
A

B. vi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Which of the following Linux commands/utilities can be used to edit a wireless
    connection’s configuration settings?
    A. dd
    B. apt-get
    C. iwconfig
    D. pwd
A

C. iwconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Which of the following is a macOS feature for password management?
    A. Spotlight
    B. Keychain
    C. Dock
    D. Gestures
A

B. Keychain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. The interpreter in Linux between the operating system and the user is known as the
    .
    A. Shell
    B. Translator
    C. Login
    D. GUI
A

A. Shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. What type of backups is kept on-site at the computer center for immediate recovery
    purposes?
    A. Man-in-the-middle
    B. Cloud copies
    C. Journal copies
    D. Working copies
A

D. Working copies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Which of the following utilities can be used in Linux to download patches for installation
    on a workstation?
    A. update
    B. Shell/terminal
    C. apt-get
    D. patch
A

C. apt-get

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which of the following commands can be used to change the owner of a file to a new
    owner in Linux?
    A. cd
    B. chmod
    C. chown
    D. pwd
A

C. chown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. Which Linux utility can be used to check and repair disks?
    A. fsck
    B. chkdsk
    C. du
    D. dumgr
A

A. fsck

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. Your iPad has an application that will not stop running. What feature/tool can you use to
    stop it?
    A. kill
    B. Force Quit
    C. Task Manager
    D. Close Quit
A

B. Force Quit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Which of the following is the most common shell used with Linux?
    A. Tcl/Tk
    B. Terminal
    C. Bash
    D. SSH
A

C. Bash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. What is the name of the area at the bottom of a macOS screen where, by default, a bar of
    crucial icons appears?
    A. Footer
    B. Mission Control
    C. Taskbar
    D. Dock
A

D. Dock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. Which key combination can you use to bring up Spotlight from within an app?
    A. Control+Shift
    B. Option+Tab
    C. Command+spacebar
    D. Alt+Home
A

C. Command+spacebar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. Which Linux command can be used to let you run a single command as another user?
    A. sudo
    B. su
    C. passwd
    D. ifconfig
A

A. sudo

17
Q
  1. Which of the following Linux commands will show you a list of running processes?
    A. ls
    B. cat
    C. ps
    D. su
A

C. ps

18
Q
  1. You are currently in a Linux terminal session and in the /home/testuser/documents/
    mail directory. Which command will take you to /home/testuser/documents?
    A. cd .
    B. cd ..
    C. cd . . .
    D. cd ∼
A

B. cd ..

19
Q
  1. If the permissions for a file are rwxrw-r––, what permissions apply for a user who is a
    member of the group to which the owner belongs?
    A. Read, write, and execute
    B. Read and write
    C. Read only
    D. No access
A

B. Read and write

20
Q
  1. What does the –p option with mkdir do?
    A. Prompts the user before creating files
    B. Prompts the user before creating subfolders
    C. Creates subfolders as well as folders
    D. None of the above
A

C. Creates subfolders as well as folders