Mac OS X from the Command Line

Video description

In this Mac OS X from the Command Line training course, expert author Chris Tarnowieckyi will teach you all about the command line tools and how to use them. This course is designed for users that are already familiar with Mac OS X.

You will start by learning how to open the terminal and configure and customize a session. From there, Chris will teach you how to compare Finder actions with commands, add functions to the system, and get system information. This video tutorial also covers how to manage the system, find, identify, and manage data, and use Directory services. You will also cover how to manage profiles and keychains, install packages, and process media with commands unique to Apple. Finally, you will learn about the Apple System Log, and about automation and development.

Once you have completed this computer based training course, you will be fully capable of using the OS X command line to work more efficiently. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of contents

  1. Introduction
    1. Welcome 00:03:15
    2. How To Use This Course 00:04:31
    3. Getting Started Right Away 00:09:27
  2. Introducing Apple Terminal App
    1. Open The Terminal And Configure A Session 00:04:24
    2. Customize A Terminal Session And Export Settings 00:08:37
    3. Tabs, Windows Sessions And Split Panes 00:06:02
    4. Configure The Default Shell 00:04:29
  3. Comparing Finder Actions With Commands
    1. Opening Objects From The Command Line 00:07:06
    2. Copying Objects The Apple Way 00:05:47
  4. Adding Functions To The System
    1. Downloading Apple Command Line Tools 00:03:41
    2. Installing Apple Xcode Development System 00:03:41
    3. Using TextEdit Or 3rd Party Editor 00:08:06
  5. Getting System Information
    1. Exploring The System_Profiler Utility 00:03:42
    2. Getting System Information With scutil 00:05:04
    3. Examining The Disk System With diskutil 00:05:10
    4. Getting System Information With systemsetup 00:03:39
    5. Getting Network Information With networksetup 00:04:29
  6. Managing The System
    1. Using SoftwareUpdate To List And Install Available Updates 00:04:42
    2. Managing System Power Settings With Pmset 00:06:12
    3. Re-Running The Apple Setup Assistant 00:03:37
    4. Creating A Full Install Media Set 00:04:57
  7. Disk Volume System
    1. Examining Partition Schemes And Volume Formats 00:08:49
    2. Splitting Partitions 00:07:33
    3. Merging Partitions 00:03:56
    4. Creating A Mirror RAID Volume 00:03:19
    5. Creating A Striped RAID Volume 00:03:16
    6. Creating A Concatenated Volume 00:03:29
    7. Creating A CoreStorage Encrypted Volume 00:05:31
    8. Verifying And Repairing A Disk or Volume 00:02:51
    9. Verifying And Repairing Permissions 00:01:51
    10. Renaming And Checking Volume Information 00:02:57
  8. File System
    1. The File System Hierarchy 00:10:48
    2. The Hidden File System 00:03:49
    3. Locking And Unlocking File System Objects 00:04:14
    4. Detailed File System Access 00:06:32
    5. Exploring Ownership On External Volumes 00:04:29
    6. Examining And Managing Metadata 00:06:17
    7. How Apple Metadata Is Preserved In Other File Systems 00:04:07
    8. Monitoring The File System With fs_usage 00:05:22
  9. Finding, Identifying And Managing Data
    1. Using Spotlight With The mdfind And mdls Commands 00:08:35
    2. Examining Apple File Formats With The File Command 00:03:04
    3. Comparing Documents With opendiff 00:03:25
    4. Creating Disk Images With hdiutil 00:07:17
    5. Creating Zip Files With zip Or ditto Commands 00:04:37
  10. Network System
    1. Configuring Settings With The networksetup Command 00:06:45
    2. Examining The Difference Between ipconfig And ifconfig 00:06:07
    3. Using Network Utility From The Command Line 00:03:00
    4. Managing Wifi From The Command Line 00:03:23
    5. AirDrop Management 00:04:44
  11. Directory Services
    1. Exploring Users With dscl 00:07:30
    2. Enabling And Disabling The Root User 00:02:51
    3. Exploring Groups With dscl, dseditgroup And dsmemberutil 00:07:18
    4. Creating Several Users Or Groups With dsimport 00:06:20
    5. Binding To An Apple Open Directory Service 00:04:16
    6. Troubleshooting Directory Service Connections 00:06:06
    7. Flushing The Directory Services And DNS Caches 00:02:32
  12. Profiles And Managed Preferences
    1. Managing Profiles With The profiles Command 00:06:05
    2. Examining Managed Preferences With The mcxquery Command 00:03:48
  13. Keychains
    1. Managing User Keychains With The security Command 00:07:48
    2. Managing The SystemKeychain With The systemkeychain Command 00:04:32
  14. Data Transfer And Remote Management
    1. Storing SSH Keys In The Keychain With ssh-add 00:05:20
    2. Using Caffeinate To Keep A Computer System Awake
    3. Starting Apple Remote Desktop With Kickstart
  15. Installer, Packages And Receipts
    1. Installing Packages With installer
    2. Examining The Installed Items With system_profiler
    3. Examining The Receipts With lsbom
    4. Removing A Receipt for A Package With pkgutil
    5. Examining The Apple Standard Packages List With repair_packages
  16. Processing Media With Commands Unique To Apple
    1. Speaking Text or Creating Audio Files With say
    2. Taking A Screen Snapshot With screencapture
    3. Managing Image Files With sips
    4. Managing Documents With textutil
    5. Exploring QuickLook With qlmanage
  17. Log System
    1. Introduction To The Apple System Log
    2. Creating System Log Messages With logger And syslog
    3. Defining A Custom Log In
    4. Defining A Custom Module
    5. Receiving Log Messages From External Sources
    6. Sending Log Message To Remote Hosts
  18. Automation And Development
    1. Using The defaults Command To Create Or Manage Settings
    2. Flushing The Preferences Cache
    3. Using The plutil And pl Commands On XML Files
    4. Using launchctl To Configure Scheduled Processes
    5. Creating Installer Package With The pkgbuild Command
    6. Exploring AppleScript Integration With Shell Scripts
  19. Conclusion
    1. Where To Get More Information

Product information

  • Title: Mac OS X from the Command Line
  • Author(s):
  • Release date: April 2015
  • Publisher(s): Infinite Skills
  • ISBN: 9781771373784