Mac OS X for Unix Geeks. Hit The Ground Running

Similar documents
What's it Called on my Mac?

MERLIN SERVER. The Quick Start Guide for collaborative project management ProjectWizards GmbH, Melle, Germany. All rights reserved.

1. Scope of Service. 1.1 About Boxcryptor Classic

Client Management - MCX

your Apple warranty; see There are two main failure modes for a mirrored RAID 1 set:

User's Manual. Intego VirusBarrier Server 2 / VirusBarrier Mail Gateway 2 User's Manual Page 1

Guide to Using the AK240 MQS Streaming Server. (Macintosh OS X Lion only)

Instructions for Adding a MacOS 10.4.x Client to ASURITE

The safer, easier way to help you pass any IT exams. Exam : 9L OS X Server Essentials 10.8 Exam. Title : Version : Demo 1 / 6

How To Sync Google Drive On A Mac Computer With A Gmail Account On A Gcd (For A Student) On A Pc Or Mac Or Mac (For An Older Person) On An Ipad Or Ipad (For Older People) On

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

FortiClient SSL VPN Client User s Guide

Initial Setup of Microsoft Outlook 2011 with IMAP for OS X Lion

Working With Your FTP Site

Iomega Home Media Network Hard Drive

Information & Communication Technologies FTP and GroupWise Archives Wilfrid Laurier University

Sophos Anti-Virus for Mac OS X Help

Document OwnCloud Collaboration Server (DOCS) User Manual. How to Access Document Storage

Spotlight. Effectively Search The Content Of Your Computer

Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients

MobaXTerm: A good gnome-terminal like tabbed SSH client for Windows / Windows Putty Tabs Alternative

Connecting to your Database!... 3

SSH and Basic Commands

Cleaning your Windows 7, Windows XP and Macintosh OSX Computers

Using Free PGI and Xcode

Network Probe User Guide

How to FTP (How to upload files on a web-server)

Incremental Backup Script. Jason Healy, Director of Networks and Systems

Sophos Anti-Virus for Mac OS X: Home Edition Help

Check out our website!

Backup Buddy. Welcome to Backup Buddy! The simplest, friendliest backup application for the Mac.

DeployStudio Server Quick Install

Fermilab Central Web Service Site Owner User Manual. DocDB: CS-doc-5372

Remote Access to Unix Machines

OS X LION SET UP THE SYSTEM

Wazza s QuickStart 10. Leopard Server - Managing Preferences

The following describes how to connect to the Internet using a Novatel Ovation MC950D modem and an Apple MacBook Pro : with Mac OS X 10.4 Tiger.

How To Use An Apple Macbook With A Dock On Itunes Macbook V.Xo (Mac) And The Powerbar On A Pc Or Macbook (Apple) With A Powerbar (Apple Mac) On A Macbook

Running the Tor client on Mac OS X

Shortcuts and Tips for Leopard/Windows XP on the Intel Mac

Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab

HWS Virtual Private Network Configuration and Setup Mac OS X 12/19/2006

Installing Microsoft Outlook on a Macintosh. This document explains how to download, install and configure Microsoft Outlook on a Macintosh.

MAC SWITCH 101. Elements of the Mac OS X desktop and Finder, and their Windows Explorer equivalents

Select the name of the application and click on Force Quit.

CS197U: A Hands on Introduction to Unix

Mac Marshal: A Tool for Mac OS X Operating System and Application Forensics

Gaz s Mac Notes. Startup

Other documents in this series are available at: servernotes.wazmac.com

Apple Time Machine. Backing up. Setting up Time Machine

Murus Logs Visualizer. User Manual

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Extending Remote Desktop for Large Installations. Distributed Package Installs

Introduction to Mac OS X

Setting up Radmind For an OSX Public Lab

In list view, the Finder window displays folder or volume contents as a list, which can be sorted by name, date, kind, or other criteria.

Remote Access Services Apple Macintosh - Installation Guide

Creating your personal website. Installing necessary programs Creating a website Publishing a website

Optional Mainserver Setup Instructions for OS X Support

Centralized Mac Home Directories On Windows Servers: Using Windows To Serve The Mac

User Manual for Data Backups

This document also includes steps on how to login into HUDMobile with a grid card and launch published applications.

Sophos SafeGuard Native Device Encryption for Mac Administrator help. Product version: 7

Configuring the Active Directory Plug-in

G4120: Introduction to Computational Biology

CONNECT-TO-CHOP USER GUIDE

Cloud Server powered by Mac OS X. Getting Started Guide. Cloud Server. powered by Mac OS X. AKJZNAzsqknsxxkjnsjx Getting Started Guide Page 1

Accessing the Tufts Network with a Mac School of Arts, Sciences, and Engineering

How to Use? SKALICLOUD DEMO

Using SSH Secure Shell Client for FTP

QOS 8 High-Speed RAID System Guide

Adobe Summit 2015 Lab 718: Managing Mobile Apps: A PhoneGap Enterprise Introduction for Marketers

Apple Remote Desktop Administrator s Guide. Version 2.0

How to Password Protect Files & Folders in Mac OS X with Disk Images

Computer Science and Engineering MacOS Cisco VPN Client Installation and Setup Guide

Training on Linux System Administration, LPI Certification Level 1

AES Crypt User Guide

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

Qbox User Manual. Version 7.0

Initial Setup of Mozilla Thunderbird with IMAP for OS X Lion

Using Firefly Media Server with Roku SoundBridge. For Mac OS X and 10.4.x

OpenIMS 4.2. Document Management Server. User manual

Working with the Ektron Content Management System

Instructions for Adding a MacOS 10.4.x Server to ASURITE for File Sharing. Installation Section

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

Grandstream Networks, Inc. GXV3175 IP Multimedia Phone GUI Customization Guide

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Local Caching Servers (LCS): User Manual

Getting Started with Dynamic Web Sites

Remote Desktop Services

The. Mac OS X Snow Leopard. PocketGuide. JeffCarlson. Ginormous knowledge, pocket skeed. Peachpit Press

You can find the installer for the +Cloud Application on your SanDisk flash drive.

Transcription:

Mac OS X for Unix Geeks Hit The Ground Running

Overview 1. System Architecture 2. System Administration 3. GUI Tricks 4. Command line tricks 5. Docs & Resources

Architecture -1-

Directory Layout / /Applications and /Applications/Utilities /Library /System and /System/Library /Users, /Users/tlim, /Users/Shared, etc.

Applications are Directories $ cd /Applications $ ls -lad ical* drwxrwxr-x... 102 Sep 29 14:57 ical.app $ cd ical.app $ ls Contents

$ ls Contents/ Info.plist version.plist MacOS PkgInfo Resources $ file Contents/MacOS/iCal MacOS/iCal: Mach-O universal binary with 2 architectures MacOS/iCal (for architecture i386): Mach-O executable i386 MacOS/iCal (for architecture ppc): Mach-O executable ppc

App docs are too $ ls -lad H* drwxr-xr-x 54 tal tal $ cd HTGR-MacOSX.key $ ls Contents Hard_Cover_bullet.tiff Hard_Cover_photo-h.tiff Hard_Cover_photo-v.tiff... index.apxl.gz... 1836 Dec 3 12:38 HTGR-MacOSX.key

Resource Forks Still exist! Why? To piss me off, that s why.

Copying all that metadata ditto ditto -rsrc -- Copies resource forks --nocache (Doesn t thrash disk cache) rsync -E Copies extended file attributes SuperDuper -- www.shirt-pocket.com ONLY utility that really copies all meta data: ACLs, timestamps, ownership, resources

SysAdmin -2-

Startup Scripts Apple s startup items: /System/Library/StartupItems/ Apps and Homegrown items: /Library/StartupItems/.../StartupItems/Foo/Foo start.../startupitems/foo/foo stop

Dynamic DNS ssh tommac.local The.local domain is maintained by a peer-topeer DNS system called Bonjour (was Rendezvous) Free download for Windows

Examples ssh hostname.local rsync -avp ~/Music/iTunes/. hostname.local:/users/shared/music/ itunes/. Bonjour Browser www.tildesoft.com/programs.html

Mounting Disks CMD-K -- Mount from a file server: nfs://servername.com/path/ smb://servername/sharename smb://workgroup;username@netbiosname/share smb://[[[domain;]user[:passd@]]server[/share[/path[/file]]]] You can create bookmarks/shortcuts to these.

Command Line Tricks -3-

The Terminal app Like xterm: Not an X11 app Cut and Paste works really well Day-1 Activities: Add it to your app bar Set reasonable prefs: Terminal -> Window Settings (not Preferences) -- Shell -- Close The Window

Terminal Tricks Demo: Drag icon into Terminal

The open command like clicking on a file or directory open file.ext Opens with the default app open dirname Opens that directory in the Finder alias here="open." open -a /Application/suchandsuch file.ext open -f

open is magic cat file.txt open -f -a / Applications/Microsoft\ Office\ 2004/Microsoft\ Word

Unix Software fink -- fink.sourceforge.net Installer for all the usual GNU and F/OSS packages you may be missing. I avoid this. I try to go native

wget wget? use "curl -O"

Screw up nvram from the command line nvram [-p] [-f filename] [-d name] name[=value]... -p print all firmware variables -f set firmware variables from a text file -d delete the named variable name=value set named variable name print variable

Watch the pretty boot messages $ nvram boot-args boot-args $ sudo nvram boot-args="-v"

Mess with Airport /System/Library/PrivateFrameworks/ Apple80211.framework/Versions/A/ Resources/airport -h

PB access from command pbpaste >output.txt pbcopy <input.txt

PB Examples (1) cat foo sort pbcopy (now paste it somewhere) pbpaste pbpaste more

Double Header PB pbpaste sort pbcopy pbpaste sed -e 's/foo/bar/g' pbcopy

Spotlight mdimport (force reindex, etc) mfind Rails mdfind -onlyin ~/Desktop Rails mdfind "kmditemcontenttype == 'com.microsoft.word.doc'" mdfind "kind:pdf date:this week" http://0xfe.blogspot.com/2006/03/usingspotlight-from-os-x-commandline.html

GUI Tricks -4-

Everything is clickable Document windows have icon in them Drag to move the file to a directory OPTION-CLICK to view PATH ichat image Drag a photo there, it just works. Error messages and IP addresses (often) be selected and copied.

The File Browser Access Unix directories by typing / Drag file into File Browser to change dir.

Safari Debug Mode defaults write com.apple.safari IncludeDebugMenu 1 Adds the "Debug" menu to Safari. If you select "Debug > User Agent", you can have Safari masquerade as Internet Explorer to fool web sites that refuse to serve other browsers.

Scroll Bars defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth puts double-scroll arrows on both sides of the scroll bar

Show hidden files defaults write com.apple.finder AppleShowAllFiles True Finder shows hidden files

Screen Capture Format defaults write com.apple.screencapture type pdf Change file format for screen captures using command-shift-3 or command-shift-4. Valid formats: pdf, png, jpg, gif (others?).

Docs/Resources -5-

Summary Good web sites: www.macosxhints.com developers.apple.com File bugs: radar.apple.com man pages: open, mdfind, mdls, ditto, rsync