Mac OS Concepts Flashcards

1
Q

What is Mac OSX based on?

A

Based on Linux System “BSD”

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

Name two file systems of Mac

A

HFS+ =Hierarchical File System
APFS=Apple File System

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

What is the advantages of APFS

A

Provides more efficient support of electronic devices, SSD drives

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

What is a B-Tree Structure?

A

A self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions and deletions in logarithmic time

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

What is journalling in HFS+?

A

Keeps track of file creation, modification, and deletion in different nodes.

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

What are the three options for users and privileges?

A
  1. Read
  2. Write
  3. Execute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command lists all files?

A

-ls

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

What are the different options for the -ls command?

A

-ls -a = Lists all files, including hidden files
-ls -l = lists all files, with long information (more detailed)
-ls -la = lists all files and hidden files with detailed information
-ls - l@=lists all files with extended attributes

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

What is “sudo”?

A

Command that gives you super user rights

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

Command to change rights flag of a file?

A

-chmod

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

What is /Applications?

A

Where Mac OS applications are installed.

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

What is /etc?

A

Folder where all system wide settings and configuration files are kept. Mostly contains text files.

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

What are some sub folders in /etc?

A

/etc/passwd= All users and associated (hashed) passwords
/etc/hosts= All hosts IP addresses
/etc/cups/printers= All configured printer settings
/etc/localtime=link to current timezone in clear text
/etc/ssh= ssh setting and saved host/keys

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

How can you check for mounted volumes?

A

-sudo ls -al /Volumes
-sudo mount
-sudo diskutil list

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

What is /Volume?

A

Folder that contains a folder for each mounted volume

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

What is /var/log

A

Folder containing mainly log files from services/programs

17
Q

What is cups?

A

The service to interface the computer with printers

18
Q

What does cat command do?

A

Asks to list the contents of a file on the screen

19
Q

Command to decompress a file?

A

Bzip2 - d thefile.bz2

20
Q

What is /Users?

A

Where all user specific data is saved. There is a sub folder for each user