Skip to content
This repository has been archived by the owner on Oct 7, 2018. It is now read-only.
Zhao Lu edited this page Feb 5, 2014 · 6 revisions

/Library/LaunchDaemons/org.jivesoftware.openfire.plist /usr/local/openfire /Library/PreferencePanes/Openfire.prefpane

w

zlu@zlu-mba:~/projects/et/cotweet (master)$ w
22:57  up 1 day, 14 hrs, 6 users, load averages: 1.14 1.44 1.68
USER     TTY      FROM              LOGIN@  IDLE WHAT
zlu      console  -                Mon08   1day  -
zlu      s007     -                 8:43   11:10 -bash
zlu      s008     -                 8:43       1 xload
zlu      s010     -                 8:43       - w
zlu      s012     -                10:05       1 -bash
zlu      s013     -                22:33       1 ssh zlu@myopenvoice.org

sysctl

diskutil

to convert .iso to .img:

sudo hdiutil convert -format UDRW -o /path/to/target.img /path/to/source.iso

then run:

diskutil list

this gives a list of all available /dev/disks identify the usb drive then unmount:

diskutil unmountDisk /dev/diskN where N is the number of usb drive

then do this:

sudo dd if=/path/to/source.img of=/dev/rdiskN bs=1m

after copy is ended, eject the disk:

diskutil eject /dev/diskN

If get error: invalid number '1m', replace with '1M' if get error: resource is busy, make sure to unmount the disk with diskutil, not eject.

Mavrick

Show hidden file

defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder