1.9 Flashcards

1
Q

A macOS user wants to revert his OS back to a week ago. Which application would allow him to do this?

A

Time Machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In regards to the macOS, which application would you use for disk maintenance?

A

Disk Utility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When using a Mac, where would you go if you wanted to check for any application updates?

A

App Store -> Updates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When using a Mac, where would you go for patch management?

A

App Store -> Updates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A macOS user wants to view his driver/firmware information? Where would he go?

A

System Information -> Hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: Driver/Firmware information is read-only.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: macOS does not include anti-virus or anti-malware.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What macOS tool would you use if you wanted to build a disk image?

A

Disk Utility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tool would you use if you wanted to verify and repair file systems?

A

Disk Utility

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the command line in macOS known as?

A

Terminal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does screen sharing work with macOS?

A

It’s built-in, so all you have to do is go to the Finder, find the computer on the network you want to share with, right-click, then check the screen sharing box.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What macOS tool is used when you want to view everything that is running on your desktop?

A

Mission Control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What macOS feature allows you to create multiple desktops?

A

Spaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the macOS centralized password management utility called?

A

Keychain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the macOS utility that allows you to search for anything on your OS?

A

Spotlight

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the macOS utility that allows you to integrate all Apple technology?

A

iCloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the macOS utility that allows you to use multiple fingers in different ways to control what happens with your OS?

A

Gestures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is the central OS file manager for macOS?

A

Finder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is the macOS utility that allows you to use an optical drive from another computer?

A

Remote Disc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: Remote Disc does support audio CDs and video DVDs.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the bottom part of a macOS screen that contains numerous available applications?

A

Dock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What is the macOS utility that allows you to dual-boot into Windows on Mac hardware?

A

Boot Camp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

In Linux, what command would you run in order to access your directory?

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does the ls command do in Linux?

A

Lists your files and directories

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What would you type in Linux if you wanted to see more detail about file ownership and permissions?
ls -l | more | el es dash el pipe more
26
What does the | do in "| more"?
Lists your command results in pages rather than all in one page which allows faster scrolling through the terminal.
27
How do you exit a page in the terminal to bring you back to the command line?
q or Ctrl-c
28
What would you type in the Linux terminal if you wanted to change directories?
cd
29
What does the cd command do in Linux?
Change directories
30
True or False: Linux uses backward slashes instead of forward slashes in the terminal.
False; Linux uses forward slashes instead of backward
31
If you wanted to change to the "/var/log" director using cd, how would you type it?
cd /var/log
32
What would you type in the Linux terminal if you wanted to search one or many files for a certain word?
grep
33
What does the grep command do?
Allows you to search one or many files for a certain word.
34
If you wanted to search for the word "failed' in your "auth.log" file, what command would you use and how would you type it.
grep failed auth.log
35
What would you type in the Linux terminal if you needed elevated rights to execute just one command?
sudo
36
What does the "sudo" command do?
Gives you elevated rights for one command.
37
What would you type in the Linux terminal if you needed elevated rights for the entire session?
su
38
What does the "su" command do?
Gives you elevated rights for the entire session.
39
What would you type in the Linux terminal if you want to shutdown your system?
shutdown
40
What would you type if you wanted to shutdown your system in two minutes?
su/sudo shutdown 2
41
What would you type if you wanted to shutdown and then restart your system in two minutes?
su/sudo shutdown -r 2
42
What would you type if you wanted to cancel a shutdown command?
Ctrl-c or shutdown -c
43
What would you type in the Linux terminal if you wanted to display the current working directory path?
pwd (print working directory)
44
What does the "pwd" command do?
Displays the current working directory path
45
What would you type in the Linux terminal if you wanted to change a user account password?
passwd
46
What does the "passwd" command do?
Allow you to change a user's password
47
What would you type in the Linux terminal if you wanted to move a file?
mv
48
What does the "mv" command do?
Moves a file or Renames a file
49
If you wanted to change file name called "first.txt" to "second.txt", what would you type?
mv first.txt second.txt
50
What would you type in the Linux terminal if you wanted to copy a file?
cp
51
What does the "cp" command do?
copies a file
52
If you wanted to copy a file name called "first.txt" and name the copy "second.txt", what would you type?
cp first.txt second.txt
53
What would you type in the Linux terminal if wanted to remove files or directories?
rm
54
What does the "rm" command do?
Removes files and/or directories
55
True or False: You can remove a directory even if it isn't empty.
False, it must be empty
56
What would you type in the Linux terminal if you wanted to make a directory?
mkdir
57
What does the mkdir command do?
Makes a directory
58
What would you type in the Linux terminal if you wanted to change the mode of a file system object to either read, write, or execute?
chmod
59
What does chmod do?
Changes the mode of a file system object
60
What would you type if you wanted to change the mode of the "script.sh" file where the user has read, write, and execute permissions, the group has read only permission, and others have read and write permissions?
chmod 746 script.sh
61
What chmod number is associated with execute only permissions?
1
62
What chmod number is associated with read only permissions?
4
63
What chmod number is associated with read, write, and execute permissions?
7
64
What chmod number is associated with write and execute permissions?
3
65
What chmod number is associated with read and write permissions?
6
66
What chmod number is associated with write only permissions?
2
67
What chmod number is associated with read and execute permissions?
5
68
What would you type in the Linux terminal if you wanted to change who owns a specific file?
chown
69
What does the chown command do?
Changes the owner of a file
70
If you would like to change the owner of file script.sh to user "Cameron", what would you type?
sudo chown Cameron script.sh
71
What would you type in the Linux terminal if you wanted to view or modify any of your wireless configuration settings?
iwconfig
72
What does the "iwconfig" command do?
Lets you view or modify any of your wireless configuration settings
73
What would you type in the Linux terminal if you wanted to view or configure a wired network interface and IP configuration?
ifconfig
74
What does the "ifconfig" command do?
Let's you view or configure a wired network interface and IP configuration
75
What would you type in the Linux terminal if realize that your Linux distribution doesn't have the command you are looking for and you'd like to install a version that does?
apt-get
76
What does the "apt-get" command do?
Allows you to install and remove applications from your Linux distribution
77
What would you type in the Linux terminal if you wanted to view the current processes?
ps
78
What does the ps command do?
Let's you view the current processes.
79
What would you type in the Linux terminal if you wanted to view all of the processes?
ps -e | more
80
What would you type in the Linux terminal if you wanted to enter full screen editing mode?
vi
81
What does the "vi" command do?
Let's you enter into full screen editing mode
82
What would you type in the Linux terminal if you wanted to covert and copy a file and/or back and restore an entire partition?
dd
83
What does the "dd" command do?
Let's you covert and copy a file and/or back and restore an entire partition
84
What would you type if you wanted to create a disk image where the source file name is "/dev/sda", the target file name is "/tmp/sda-image.img"?
dd if=/dev/sda of=/tmp/sda-image.img
85
What would you type if you wanted to restore from an image where the source file name is "/dev/sda" and the taret file name is "/tmp/sda-image.img"?
dd if=/tmp/sda-image.img of=/dev/sda
86
What would you type if you wanted to close a program?
killall
87
What would you type if you wanted to kill a program via. its PID?
xkill pidnumber