cpu type
sysctl -n machdep.cpu.brand_stringsystem_profiler | grep Processordisk info / mount umountdiskutil listdiskutil unmount /dev/disk1s2diskutil mount /dev/disk1s2user controlpkill -u username ps -u username
Mountain Lion X system XQuartzhttp://xquartz.macosforge.org/landing/
Time machine backup (use on ssh to remotetmutil startbackuptmutil stopbackup
shell history incantationhistory | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head -15
ruby installs utilities / packagesnotifier
sudo gem install terminal-notifieruse case
terminal-notifier -message "Hello, this is my message" -title "Message Title"flags changing
chflags nohidden /path/to/hide/file.txtdownload history:sqlite3
~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*
'select LSQuarantineDataURLString from LSQuarantineEvent'sqlite3
~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV*
'select LSQuarantineDataURLString from LSQuarantineEvent' | sortforce time updatesudo ntpdate -u time.apple.com
No comments:
Post a Comment