Mac OS Concepts Flashcards
What is Mac OSX based on?
Based on Linux System “BSD”
Name two file systems of Mac
HFS+ =Hierarchical File System
APFS=Apple File System
What is the advantages of APFS
Provides more efficient support of electronic devices, SSD drives
What is a B-Tree Structure?
A self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions and deletions in logarithmic time
What is journalling in HFS+?
Keeps track of file creation, modification, and deletion in different nodes.
What are the three options for users and privileges?
- Read
- Write
- Execute
What command lists all files?
-ls
What are the different options for the -ls command?
-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
What is “sudo”?
Command that gives you super user rights
Command to change rights flag of a file?
-chmod
What is /Applications?
Where Mac OS applications are installed.
What is /etc?
Folder where all system wide settings and configuration files are kept. Mostly contains text files.
What are some sub folders in /etc?
/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 can you check for mounted volumes?
-sudo ls -al /Volumes
-sudo mount
-sudo diskutil list
What is /Volume?
Folder that contains a folder for each mounted volume