OS X: Difference between revisions

From John's wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:


  $ sudo port install subversion
  $ sudo port install subversion
== Force Quit ==
To force a non-responsive app to quit: Apple+Option+Esc

Revision as of 16:13, 27 April 2008

Quicksilver is a desktop app launcher.

Mac OS X keyboard shortcuts

Finder: Show All Files

To show hidden files in finder:

$ defaults write com.apple.finder AppleShowAllFiles TRUE
$ killall Finder

To hide hidden files in finder:

$ defaults write com.apple.finder AppleShowAllFiles FALSE
$ killall Finder

Note: the finder config file is:

~/Library/Preferences/com.apple.finder.plist

Locking files and folders to prevent changes

To find out about chflags:

$ man chflags

The ucfg flag makes a folder immutable. To remove the uchg flag from a folder:

$ chflags nouchg FolderName

Single User Mode

To boot a Mac into single user mode: restart and hold down Command-S after the chime.

Darwin Ports

Use DarwinPorts to install software. E.g.

$ sudo port install subversion

Force Quit

To force a non-responsive app to quit: Apple+Option+Esc