Rixstep
 About | ACP | Buy | Industry Watch | Learning Curve | News | Search | Test
Home » Learning Curve

The CLIX Files

As of 7 November 2006.

ACP | ManOpen | Clean | Desktop | Developer | Disk | Echo | List | Log | Lproj | Misc | Network | Objdump | Open | Opener | Security | System

ACP

ACP Prefs GlobalACP Systemread global ACP preferencesdefaults read /Library/Preferences/com.rixstep.ACP
ACP Prefs LocalACP Systemread local ACP preferencesdefaults read com.rixstep.ACP
ACP Set UIDsACP Systemescalate use of ASMX Lightman Priority Spike Trace Tracker Scansudo chown 0:80 ../ASMX.app/Contents/MacOS/ASMX ../Lightman.app/Contents/MacOS/Lightman ../Spike.app/Contents/Resources/tr ../Tracker.app/Contents/Resources/sc;sudo chmod 4550 ../ASMX.app/Contents/MacOS/ASMX ../Lightman.app/Contents/MacOS/Lightman ../Spike.app/Contents/Resources/tr ../Tracker.app/Contents/Resources/sc
Clear Recents Off GlobalACP Systemturn ACP clear recents off globallydefaults delete /Library/Preferences/com.rixstep.ACP RxClearRecents
Clear Recents Off LocalACP Systemturn ACP clear recents off locallydefaults delete com.rixstep.ACP RxClearRecents
Clear Recents On GlobalACP Systemturn ACP clear recents on globallydefaults write /Library/Preferences/com.rixstep.ACP RxClearRecents -boolean true
Clear Recents On LocalACP Systemturn ACP clear recents on locallydefaults write com.rixstep.ACP RxClearRecents -boolean true
ClixmanACP Systemdemonstration of clixman filterman sysctl | ./clixman
Deescalate XfileACP Systemdeescalate Xfilecd ~/Applications/etc;./deesc Xfile 2>/dev/null
Deescalate Xfile SystemACP Systemdeescalate Xfile Systemecho 'De-escalating Xfile System...';cd ..;sudo chown 501:20 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo chmod 0700 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo mv .GlobalPreferences.plist com.rixstep.Xfile.plist com.rixstep.Xfind.plist com.rixstep.Xscan.plist ~/Library/Preferences;echo Done.
Deescalate XscanACP Systemdeescalate Xscancd ~/Applications/etc;./deesc Xscan 2>/dev/null
EncodingsACP Systemshow available string encodings./encodings
Escalate XfileACP Systemescalate Xfilecd ~/Applications/etc;./esc Xfile 2>/dev/null
Escalate Xfile SystemACP Systemescalate Xfile Systemecho 'Escalating Xfile System...';cd ..;sudo chown 0:80 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;sudo chmod 4710 Xfile.app/Contents/MacOS/Xfile Xfind.app/Contents/MacOS/Xfind Xscan.app/Contents/MacOS/Xscan;cp ~/Library/Preferences/.GlobalPreferences.plist ~/Library/Preferences/com.rixstep.Xfile.plist ~/Library/Preferences/com.rixstep.Xfind.plist ~/Library/Preferences/com.rixstep.Xscan.plist .;echo Done.
Escalate XscanACP Systemescalate Xscancd ~/Applications/etc;./esc Xscan 2>/dev/null
Finder to XfileACP Systemmake Xfile default file browserdefaults write ~/Library/Preferences/com.apple.dock QuitFinder -bool YES;defaults write ~/Library/Preferences/com.apple.loginwindow Finder
Kill ACP.serviceACP Systemkill the ACP.service process (used in testing)killall ACP
Revert to FinderACP Systemrestore Finder as default file browserdefaults delete com.apple.dock QuitFinder;defaults delete com.apple.loginwindow Finder
RXD .volACP Systemshow info on /.vol mount./rxd /.vol
RXD automountACP Systemshow info on /automount mount./rxd /automount
RXD devACP Systemshow info on /dev mount./rxd /dev
RXD RootACP Systemshow info on root mount./rxd /
RXD ServersACP Systemshow info on /Network/Servers mount./rxd /Network/Servers
RXD UserACP Systemshow info on user's mount./rxd ~
TIFFs Compress UserACP Systemfind and compress TIFF files in user areafind ~ \( -name '*\.tif' -or -name '*\.tiff' \) -exec ./tiffcompress {} \;
TIFFs Find UserACP Systemfind TIFF files in user areafind ~ \( -name '*\.tif' -or -name '*\.tiff' \)
VolinfoACP Systemshow information for current volume or volume specified by file path./volinfo
Autohide OnXshelfturn Xshelf autohide ondefaults write com.rixstep.Xshelf Autohide -bool YES
Autohide ReadXshelfread Xshelf autohide behaviourdefaults read com.rixstep.Xshelf Autohide
Autohide RestoreXshelfrestore default Xshelf autohide behaviourdefaults delete com.rixstep.Xshelf Autohide
Level FloatXshelfset Xshelf to floatdefaults write com.rixstep.Xshelf Level -integer 3
Level ReadXshelfread Xshelf window leveldefaults read com.rixstep.Xshelf Level
Level RestoreXshelfrestore default Xshelf leveldefaults delete com.rixstep.Xshelf Level
Status OnXshelfturn Xshelf status (menulet display) ondefaults write com.rixstep.Xshelf Status -bool YES
Status ReadXshelfread Xshelf status (menulet) behaviourdefaults read com.rixstep.Xshelf Status
Status RestoreXshelfrestore default Xshelf status (menulet display) behaviourdefaults delete com.rixstep.Xshelf Status
UI Element OffXshelfrun Xshelf as ordinary application (adjust path in 2nd command accordingly)chmod 0600 ../Xshelf.app/Contents/Info.plist;defaults delete ~/Applications/Xshelf.app/Contents/Info NSUIElement;chmod 0400 ../Xshelf.app/Contents/Info.plist
UI Element OnXshelfrun w/o menu bar or dock icon; requires status item (adjust path in 2nd cmd accordingly)defaults write com.rixstep.Xshelf Status -bool YES;chmod 0600 ../Xshelf.app/Contents/Info.plist;defaults write ~/Applications/Xshelf.app/Contents/Info NSUIElement -bool YES;chmod 0400 ../Xshelf.app/Contents/Info.plist

ManOpen

ManOpen EnableCLIXenable ManOpendefaults write com.rixstep.CLIX MO 1
ManOpen ReadCLIXread ManOpen settingdefaults read com.rixstep.CLIX MO
ManOpen RestoreCLIXrestore default ManOpen settingdefaults delete com.rixstep.CLIX MO

Clean

.DS_Store CleanCleanclean .DS_Store filesecho -n 'CLIX cleaning .DS_Store files... ';sudo find / -name \.DS_Store -exec rm -f {} \;;echo done.
.DS_Store PurgePurgepurge .DS_Store filesecho -n 'CLIX purging .DS_Store files... ';sudo find / -name \.DS_Store -exec rm -fP {} \;;echo done.
.localized CleanCleanclean .localized filesecho -n 'CLIX cleaning .localized files... ';sudo find / -name \.localized -exec rm -f {} \;;echo done.
.MCXLC CleanCleanclean .MCXLC filesecho -n 'CLIX cleaning .MCXLC files... ';sudo find ~ -name \.MCXLC -exec rm -f {} \;;echo done.
Apple Mail CleanCleanclean Apple Mail filesfind ~/Library/Mail -name mbox.SKindex* -exec rm -f {} \;;find ~/Library/Mail -name table_of_contents -exec rm -f {} \;
Apple Mail PurgePurgepurge Apple Mail filesfind ~/Library/Mail -name mbox.SKindex* -exec rm -fP {} \;;find ~/Library/Mail -name table_of_contents -exec rm -fP {} \;
AppleRecentFolders CleanCleanclean global AppleRecentFoldersdefaults delete -g AppleRecentFolders;defaults delete -g AppleRecentFolders
Browser Caches CleanCleanclean all browser cachesecho -n 'CLIX cleaning Camino caches... ';rm -fr ~/Library/Application\ Support/Camino/Cache/*;echo done.;echo -n 'CLIX cleaning Firefox caches... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/*;rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/*;echo done.;echo -n 'CLIX cleaning iCab caches... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/*;echo done.;echo -n 'CLIX cleaning IE caches... ';rm -fr ~/Library/Caches/MS\ Internet\ Cache/*;rm -fr ~/Library/Preferences/Explorer/Download\ Cache;rm -fr ~/Library/Preferences/Explorer/Temporary\ Files/*;echo done.;echo -n 'CLIX cleaning Mozilla caches... ';rm -fr ~/Library/Mozilla/Profiles/*/*/Cache;echo done.;echo -n 'CLIX cleaning OmniWeb caches... ';rm -fr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache;echo done.;echo -n 'CLIX cleaning Opera caches... ';rm -fr ~/Library/Caches/Opera\ Cache/Cache*;echo done.;echo -n 'CLIX cleaning Shiira caches... ';rm -fr ~/Library/Caches/Shiira/*;echo done.
Browser Caches PurgePurgepurge all browser cachesecho -n 'CLIX purging Camino caches... ';rm -fPr ~/Library/Application\ Support/Camino/Cache/* 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox caches... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/* 2>/dev/null;rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/* 2>/dev/null;echo done.;echo -n 'CLIX purging iCab caches... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/* 2>/dev/null;echo done.;echo -n 'CLIX purging IE caches... ';rm -fPr ~/Library/Caches/MS\ Internet\ Cache/* 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Download\ Cache 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Temporary\ Files/* 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla caches... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/Cache 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb caches... ';rm -fPr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache 2>/dev/null;echo done.;echo -n 'CLIX purging Opera caches... ';rm -fPr ~/Library/Caches/Opera\ Cache/Cache* 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira caches... ';rm -fPr ~/Library/Caches/Shiira/* 2>/dev/null;echo done.
Browser Cookies CleanCleanclean all browser cookiesecho -n 'CLIX cleaning Camino cookies... ';rm -fr ~/Library/Application\ Support/Camino/cookies.txt*;echo done.;echo -n 'CLIX cleaning iCab cookies... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cookies;echo done.;echo -n 'CLIX cleaning Firefox cookies... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/cookies.txt;echo done.;echo -n 'CLIX cleaning OmniWeb cookies... ';rm -fr ~/Library/Application\ Support/OmniWeb\ 5/Cookies.xml;echo done.;echo -n 'CLIX cleaning Opera cookies... ';rm -fr ~/Library/Preferences/Opera\ Preferences/cookies*;echo done.
Browser Cookies PurgePurgepurge all browser cookiesecho -n 'CLIX purging Camino cookies... ';rm -fPr ~/Library/Application\ Support/Camino/cookies.txt* 2>/dev/null;echo done.;echo -n 'CLIX purging iCab cookies... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cookies 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox cookies... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/cookies.txt 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb cookies... ';rm -fPr ~/Library/Application\ Support/OmniWeb\ 5/Cookies.xml 2>/dev/null;echo done.;echo -n 'CLIX purging Opera cookies... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/cookies* 2>/dev/null;echo done.
Browser History CleanCleanclean all browser historyecho -n 'CLIX cleaning Camino history... ';rm -fr ~/Library/Application\ Support/Camino/history.dat;echo done.;echo -n 'CLIX cleaning Firefox history... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/history.dat;echo done.;echo -n 'CLIX cleaning iCab history... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ Global\ History;echo done.;echo -n 'CLIX cleaning IE history... ';rm -fr ~/Library/Preferences/Explorer/History.html;echo done.;echo -n 'CLIX cleaning Mozilla history... ';rm -fr ~/Library/Mozilla/Profiles/*/*/history.dat;echo done.;echo -n 'CLIX cleaning OmniWeb history... ';rm -fr ~/Library/Application\ Support/OmniWeb\ 5/History*;echo done.;echo -n 'CLIX cleaning Opera history... ';rm -fr ~/Library/Preferences/Opera\ Preferences/Opera\ Direct\ History;rm -fr ~/Library/Preferences/Opera\ Preferences/Opera\ Global\ History;echo done.;echo -n 'CLIX cleaning Safari history... ';rm -fr ~/Library/Safari/History.plist;echo done.;echo -n 'CLIX cleaning Shiira history... ';rm -fr ~/Library/Shiira/History.plist;echo done.
Browser History PurgePurgepurge all browser historyecho -n 'CLIX purging Camino history... ';rm -fPr ~/Library/Application\ Support/Camino/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging Firefox history... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging iCab history... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ Global\ History 2>/dev/null;echo done.;echo -n 'CLIX purging IE history... ';rm -fPr ~/Library/Preferences/Explorer/History.html 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla history... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/history.dat 2>/dev/null;echo done.;echo -n 'CLIX purging OmniWeb history... ';rm -fPr ~/Library/Application\ Support/OmniWeb\ 5/History* 2>/dev/null;echo done.;echo -n 'CLIX purging Opera history... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/Opera\ Direct\ History 2>/dev/null;rm -fPr ~/Library/Preferences/Opera\ Preferences/Opera\ Global\ History 2>/dev/null;echo done.;echo -n 'CLIX purging Safari history... ';rm -fPr ~/Library/Safari/History.plist 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira history... ';rm -fPr ~/Library/Shiira/History.plist 2>/dev/null;echo done.
Builder CleanCleanclean Project Builder and Interface Builder preferencesdefaults delete com.apple.InterfaceBuilder NSDefaultOpenDirectory;defaults delete com.apple.InterfaceBuilder NSWindow\ Frame\ NSColorPanel;defaults delete com.apple.InterfaceBuilder NSWindow\ Frame\ NSFontPanel;defaults delete com.apple.InterfaceBuilder NSRecentDocumentRecords;defaults delete com.apple.ProjectBuilder NSRecentDocumentRecords;defaults delete com.apple.ProjectBuilder NSFontPanelPreviewHeight;defaults delete com.apple.ProjectBuilder NSTableView\ Columns\ CVSModuleTab
Caches CleanCleanclean cachesfind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -f {} \;;rm -fr ~/Library/Caches/com.apple.addressservices;rm -fr ~/Library/Caches/Desktop
Caches PurgePurgepurge cachesfind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -fP {} \;;rm -fPr ~/Library/Caches/com.apple.addressservices;rm -fPr ~/Library/Caches/Desktop
Calculator CleanCleanclean Calculator filesrm -fr ~/Library/Application\ Support/Calculator ~/Library/Preferences/com.apple.calculator.plist
Calculator PurgePurgepurge Calculator filesrm -fPr ~/Library/Application\ Support/Calculator ~/Library/Preferences/com.apple.calculator.plist
Camino Caches CleanCleanclean Camino cachesecho -n 'CLIX cleaning Camino caches... ';rm -fr ~/Library/Application\ Support/Camino/Cache/*;echo done.
Camino Caches PurgePurgepurge Camino cachesecho -n 'CLIX purging Camino caches... ';rm -fPr ~/Library/Application\ Support/Camino/Cache/* 2>/dev/null;echo done.
Camino CleanCleanclean Camino filesrm -fr /Library/Mozilla ~/Library/Mozilla
Camino PurgePurgepurge Camino filesrm -fPr /Library/Mozilla ~/Library/Mozilla
Clean All CachesCleanclean all cachessudo rm /Library/Caches/*;sudo rm /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo sync;sudo sync
Clean Caches & SwapCleanclean caches and swap (and immediately shut down or reboot)sudo rm /Library/Caches/*;sudo rm /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync
Clean Sweep RebootCleanclean caches and swap and rebootsudo rm -r /Library/Caches/*;sudo rm -r /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync;sudo reboot
Clean Sweep ShutdownCleanclean caches and swap and shutdownsudo rm -r /Library/Caches/*;sudo rm -r /System/Library/Caches/*;sudo find ~/Library/Caches -type f -exec rm {} \;;sudo rm -f /private/var/vm/swapfile*;sudo sync;sudo sync;sudo shutdown now
Delete Find Indexes /Cleandelete all Find index files on hard drivesudo find / -name \.FBCIndex -exec rm -f {} \;
Delete Find Indexes ~Cleandelete all Find index files in home directorysudo find ~ -name \.FBCIndex -exec rm -f {} \;
Desktop File CleanCleanclean Desktop filessudo rm -f /Desktop\ D*
Desktop File PurgePurgepurge Desktop filessudo rm -fP /Desktop\ D*
Disk Usage II CleanCleanclean temporary disk usage filesudo rm -f /tmp/du.rtx
Disk Usage II PurgeCleanpurge temporary disk usage filesudo rm -fP /tmp/du.rtx
Downloads CleanCleanclean all browser download recordsecho -n 'CLIX cleaning Firefox records... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf;echo done.;echo -n 'CLIX cleaning iCab records... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager;echo done.;echo -n 'CLIX cleaning Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf;echo done.;echo -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.;echo -n 'CLIX cleaning Opera records... ';rm -fr ~/Library/Preferences/Opera\ Preferences/download.dat;echo done.;echo -n 'CLIX cleaning Safari records... ';rm -fr ~/Library/Safari/Downloads.plist;echo done.;echo -n 'CLIX cleaning Shiira records... ';rm -fr ~/Library/Shiira/Downloads.plist;echo done.
Downloads PurgePurgepurge all browser download recordsecho -n 'CLIX purging Firefox records... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf 2>/dev/null;echo done.;echo -n 'CLIX purging iCab records... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager 2>/dev/null;echo done.;echo -n 'CLIX purging Mozilla records... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/downloads.rdf 2>/dev/null;echo done.;echo -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.;echo -n 'CLIX purging Opera records... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/download.dat 2>/dev/null;echo done.;echo -n 'CLIX purging Safari records... ';rm -fPr ~/Library/Safari/Downloads.plist 2>/dev/null;echo done.;echo -n 'CLIX purging Shiira records... ';rm -fPr ~/Library/Shiira/Downloads.plist 2>/dev/null;echo done.
DVD Script CleanCleanclean DVD scriptsrm -fr ~/Library/Application\ Support/DVD\ Player\ Scripts
DVD Script PurgePurgepurge DVD scriptsrm -fPr ~/Library/Application\ Support/DVD\ Player\ Scripts
File Panel Prefs CleanCleanclean file panel preferencesdefaults delete -g NSWindow\ Frame\ NXOpenPanel;defaults delete -g NSWindow\ Frame\ NXSavePanel
File Panel Prefs ReadCleanread file panel preferences (if they exist)defaults read -g NSWindow\ Frame\ NXOpenPanel;defaults read -g NSWindow\ Frame\ NXSavePanel
Finder CleanCleanclean finder preferencesdefaults delete com.apple.finder ClipboardWindowBounds;defaults delete com.apple.finder CopyProgressWindowLocation;defaults delete com.apple.finder recent-folders
Firefox Caches CleanCleanclean Firefox cachesecho -n 'CLIX cleaning Firefox caches... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/*;rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/*;echo done.
Firefox Caches PurgePurgepurge Firefox cachesecho -n 'CLIX purging Firefox caches... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache/* 2>/dev/null;rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/Cache.Trash/* 2>/dev/null;echo done.
Firefox Downloads CleanCleanclean Firefox download recordsecho -n 'CLIX cleaning Firefox records... ';rm -fr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf;echo done.
Firefox Downloads PurgePurgepurge Firefox download recordsecho -n 'CLIX purging Firefox records... ';rm -fPr ~/Library/Application\ Support/Firefox/Profiles/*/downloads.rdf 2>/dev/null;echo done.
Full Circle CleanCleanclean Full Circle filesrm -fr ~/Library/Application\ Support/FullCircle;rm -fr ~/Library/Preferences/com.fullsoft.talkback.plist
Full Circle PurgePurgepurge Full Circle filesrm -fPr ~/Library/Application\ Support/FullCircle;rm -fPr ~/Library/Preferences/com.fullsoft.talkback.plist
iCab Caches CleanCleanclean iCab cachesecho -n 'CLIX cleaning iCab caches... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/*;echo done.
iCab Caches PurgePurgepurge iCab cachesecho -n 'CLIX purging iCab caches... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/* 2>/dev/null;echo done.
iCab Downloads CleanCleanclean iCab download recordsecho -n 'CLIX cleaning iCab records... ';rm -fr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager;echo done.
iCab Downloads PurgePurgepurge iCab download recordsecho -n 'CLIX purging iCab records... ';rm -fPr ~/Library/Preferences/iCab\ Preferences/iCab\ Cache/iCab\ DL-Manager 2>/dev/null;echo done.
Icon Cache CleanCleanclean Dock icon cachefind /Library/Caches -name com.apple.dock.iconcache.* -exec rm -f {} \;
Icon Cache PurgePurgepurge Dock icon cachefind /Library/Caches -name com.apple.dock.iconcache.* -exec rm -fP {} \;
IE Caches CleanCleanclean IE cachesecho -n 'CLIX cleaning IE caches... ';rm -fr ~/Library/Caches/MS\ Internet\ Cache/*;rm -fr ~/Library/Preferences/Explorer/Download\ Cache;rm -fr ~/Library/Preferences/Explorer/Temporary\ Files/*;echo done.
IE Caches PurgePurgepurge IE cachesecho -n 'CLIX purging IE caches... ';rm -fPr ~/Library/Caches/MS\ Internet\ Cache/* 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Download\ Cache 2>/dev/null;rm -fPr ~/Library/Preferences/Explorer/Temporary\ Files/* 2>/dev/null;echo done.
Launch Services Caches PurgePurgepurge launch services cachessudo rm -fP /Library/Caches/com.apple.LaunchServices.LocalCache.csstore;rm -fP ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
Launch Services CleanCleanclean launch services cachessudo rm -f /Library/Caches/com.apple.LaunchServices.LocalCache.csstore;rm -f ~/Library/Caches/com.apple.LaunchServices.UserCache.csstore
Mozilla Caches CleanCleanclean Mozilla cachesecho -n 'CLIX cleaning Mozilla caches... ';rm -fr ~/Library/Mozilla/Profiles/*/*/Cache;echo done.
Mozilla Caches PurgePurgepurge Mozilla cachesecho -n 'CLIX purging Mozilla caches... ';rm -fPr ~/Library/Mozilla/Profiles/*/*/Cache 2>/dev/null;echo done.
Mozilla Downloads CleanCleanclean Mozilla download recordsecho -n 'CLIX cleaning Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf;echo done.
Mozilla Downloads PurgePurgepurge Mozilla download recordsecho -n 'CLIX purging Mozilla records... ';rm -fr ~/Library/Mozilla/Profiles/*/*/downloads.rdf 2>/dev/null;echo done.
OmniWeb Caches CleanCleanclean OmniWeb cachesecho -n 'CLIX cleaning OmniWeb caches... ';rm -fr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache;echo done.
OmniWeb Caches PurgePurgepurge OmniWeb cachesecho -n 'CLIX purging OmniWeb caches... ';rm -fPr ~/Library/Caches/com.omnigroup.OmniWeb5/Cache 2>/dev/null;echo done.
OmniWeb Downloads CleanCleanclean OmniWeb download recordsecho -n 'CLIX cleaning OmniWeb records... ';defaults delete com.omnigroup.OmniWeb5 OWPersistentDownloadedFileFossils 2>/dev/null;echo done.
Opera Caches CleanCleanclean Opera cachesecho -n 'CLIX cleaning Opera caches... ';rm -fr ~/Library/Caches/Opera\ Cache/Cache*;echo done.
Opera Caches PurgePurgepurge Opera cachesecho -n 'CLIX purging Opera caches... ';rm -fPr ~/Library/Caches/Opera\ Cache/Cache* 2>/dev/null;echo done.
Opera Downloads CleanCleanclean Opera download recordsecho -n 'CLIX cleaning Opera records... ';rm -fr ~/Library/Preferences/Opera\ Preferences/download.dat;echo done.
Opera Downloads PurgePurgepurge Opera download recordsecho -n 'CLIX purging Opera records... ';rm -fPr ~/Library/Preferences/Opera\ Preferences/download.dat 2>/dev/null;echo done.
Pref Panes Cache CleanCleanclean preference panes cachefind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -f {} \;
Pref Panes Cache PurgePurgepurge preference panes cachefind ~/Library/Caches -name com.apple.preferencepanes.cache -exec rm -fP {} \;
Receipts CleanCleanclean receiptsrm -fr /Library/Receipts/*
Receipts PurgePurgepurge receiptsrm -fPr /Library/Receipts/*
Safari CleanCleanclean Safari filesrm -fr ~/Library/Caches/Safari ~/Library/Cookies ~/Library/Safari/Downloads.plist ~/Library/Safari/History.plist ~/Library/Safari/Icons
Safari Downloads CleanCleanclean Safari download recordsecho -n 'CLIX cleaning Safari records... ';rm -fr ~/Library/Safari/Downloads.plist;echo done.
Safari Downloads PurgePurgepurge Safari download recordsecho -n 'CLIX purging Safari records... ';rm -fPr ~/Library/Safari/Downloads.plist 2>/dev/null;echo done.
Safari Icons CleanCleanclean Safari iconsecho -n 'CLIX cleaning Safari icons... ';rm -fr ~/Library/Safari/Icons/* 2>/dev/null;echo done.
Safari Icons PurgePurgepurge Safari iconsecho -n 'CLIX purging Safari icons... ';rm -fPr ~/Library/Safari/Icons/* 2>/dev/null;echo done.
Safari PurgePurgepurge Safari filesrm -fPr ~/Library/Caches/Safari ~/Library/Cookies ~/Library/Safari/Downloads.plist ~/Library/Safari/History.plist ~/Library/Safari/Icons
Shiira Caches CleanCleanclean Shiira cachesecho -n 'CLIX cleaning Shiira caches... ';rm -fr ~/Library/Caches/Shiira/*;echo done.
Shiira Caches PurgePurgepurge Shiira cachesecho -n 'CLIX purging Shiira caches... ';rm -fPr ~/Library/Caches/Shiira/* 2>/dev/null;echo done.
Shiira Downloads CleanCleanclean Shiira download recordsecho -n 'CLIX cleaning Shiira records... ';rm -fr ~/Library/Shiira/Downloads.plist;echo done.
Shiira Downloads PurgePurgepurge Shiira download recordsecho -n 'CLIX purging Shiira records... ';rm -fPr ~/Library/Shiira/Downloads.plist 2>/dev/null;echo done.
tmp CleanCleanclean /tmpsudo rm -fr /tmp/*;sudo rm -f /tmp/.modemOnHold
tmp PurgePurgepurge /tmpsudo rm -fPr /tmp/*;sudo rm -f /tmp/.modemOnHold

Desktop

Accept Cookies AlwaysSafariset Safari to always accept cookiesdefaults write com.apple.WebFoundation WebAcceptCookies always
Accept Cookies CurrentSafariset Safari to only accept cookies from your current pagedefaults write com.apple.WebFoundation WebAcceptCookies current\ page
Accept Cookies NeverSafariset Safari to never accept cookiesdefaults write com.apple.WebFoundation WebAcceptCookies never
Accept Cookies ReadSafariread Safari's accept cookies policydefaults read com.apple.WebFoundation WebAcceptCookies
Accept Cookies RestoreSafarirestore accept cookies toggledefaults delete com.apple.WebFoundation WebAcceptCookies
AddressesMailshow addresses in AddressBookstrings ~/Library/Application\ Support/AddressBook/AddressBook.data | grep -v bplist | grep @
Always Show Tabs OffSafariturn off always showing tab bardefaults write com.apple.Safari AlwaysShowTabBar -bool NO
Always Show Tabs OnSafariturn on always showing tab bardefaults write com.apple.Safari AlwaysShowTabBar -bool YES
Always Show Tabs ReadSafariread status of always showing tab bardefaults read com.apple.Safari AlwaysShowTabBar
Always Show Tabs RestoreSafarirestore default status of always showing tab bardefaults delete com.apple.Safari AlwaysShowTabBar
AM/PM Designation.Globalshow AM/PM designationdefaults read -g NSAMPMDesignation
Animate Info Panes OffFinderturn info pane animation offdefaults delete com.apple.finder AnimateInfoPanes;killall Finder
Animate Info Panes OnFinderturn info pane animation ondefaults write com.apple.finder AnimateInfoPanes -bool YES;killall Finder
Animate Info Panes ReadFinderread info pane animation flagdefaults read com.apple.finder AnimateInfoPanes
Animate Window Zoom OffFinderturn window zoom animation offdefaults delete com.apple.finder AnimateWindowZoom;killall Finder
Animate Window Zoom OnFinderturn info pane animation ondefaults write com.apple.finder AnimateWindowZoom -bool YES;killall Finder
Animate Window Zoom ReadFinderread window zoom animation flagdefaults read com.apple.finder AnimateWindowZoom
Antialias Smooth Fonts DefaultsSafarirestore antialiasing and smooth font defaultsdefaults delete com.apple.Safari AppleAntiAliasingThreshold;defaults delete com.apple.Safari AppleSmoothFontsSizeThreshold
Antialias Smooth Fonts HighSafariset antialiasing and smooth font values highdefaults write com.apple.Safari AppleAntiAliasingThreshold -integer 8;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -integer 8
Antialias Smooth Fonts HighSafariset antialiasing and smooth font values highdefaults write com.apple.Safari AppleAntiAliasingThreshold -int 8;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -int 8
Antialias Smooth Fonts LowSafariset antialiasing and smooth font values lowdefaults write com.apple.Safari AppleAntiAliasingThreshold -integer 2;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -integer 2
Antialias Smooth Fonts LowSafariset antialiasing and smooth font values lowdefaults write com.apple.Safari AppleAntiAliasingThreshold -int 2;defaults write com.apple.Safari AppleSmoothFontsSizeThreshold -int 2
Antialias Smooth Fonts ReadSafariread antialiasing and smooth font settings (if they exist)defaults read com.apple.Safari AppleAntiAliasingThreshold;defaults read com.apple.Safari AppleSmoothFontsSizeThreshold
Antialiasing Threshold.Globalshow antialiasing thresholddefaults read -g AppleAntiAliasingThreshold
Append AMPMMenu Bar Clockread appending 'AM' and 'PM' statusdefaults read com.apple.MenuBarClock AppendAMPM
Autohide OffDockturn hiding offdefaults delete com.apple.dock autohide;killall Dock
Autohide OnDockturn hiding ondefaults write com.apple.dock autohide -bool YES;killall Dock
Autohide ReadDockread hiding flagdefaults read com.apple.dock autohide
Autolaunched Application DictionaryLogin Windowshow autolaunched application dictionarydefaults read loginwindow AutoLaunchedApplicationDictionary
Autoopen OffSafariturn off automatically opening 'safe' downloads (VERY SMART)defaults write com.apple.Safari AutoOpenSafeDownloads -bool NO
Autoopen OnSafariturn on automatically opening 'safe' downloads (REALLY DUMB)defaults write com.apple.Safari AutoOpenSafeDownloads -bool YES
Autoopen ReadSafariread status of automatically opening 'safe' downloadsdefaults read com.apple.Safari AutoOpenSafeDownloads
Autoopen RestoreSafarirestore default status of automatically opening 'safe' downloadsdefaults delete com.apple.Safari AutoOpenSafeDownloads
Beep Feedback Off.Globalturn beep feedback offdefaults write -g com.apple.sound.beep.feedback -int 0;killall Finder
Beep Feedback On.Globalturn beep feedback ondefaults write -g com.apple.sound.beep.feedback -int 1;killall Finder
Beep Feedback Read.Globalread beep feedback flagdefaults read -g com.apple.sound.beep.feedback
Beep Feedback Restore.Globalrestore default beep feedbackdefaults delete -g com.apple.sound.beep.feedback;killall Finder
Beep Sound.Globalshow path to default beep sounddefaults read -g com.apple.sound.beep.sound
Bluetooth Autodetect OnAddress Bookturn on bluetooth detectdefaults write com.apple.AddressBook ABCheckForPhoneNextTime -bool YES
Bluetooth Autodetect RestoreAddress Bookrestore default bluetooth detect behaviourdefaults delete com.apple.AddressBook ABCheckForPhoneNextTime
Bookmarks DateSafariread bookmarks datedefaults read com.apple.Safari BuiltInBookmarksDate
Bookmarks TagSafariread bookmarks tagdefaults read com.apple.Safari BuiltInBookmarksTag
Build Version Stamp NumberLogin Windowshow build version stamp as numberdefaults read loginwindow BuildVersionStampAsNumber
Build Version Stamp StringLogin Windowshow build version stamp as stringdefaults read loginwindow BuildVersionStampAsString
Caches OffSafaristop cachingrm -fr ~/Library/Caches/Safari;ln -s /dev/null ~/Library/Caches/Safari
Caches OnSafariallow cachingrm ~/Library/Caches/Safari
Close View OffDesktopturn off close view (desktop magnifier with option-cmd-[-|+])defaults delete com.apple.universalaccess closeViewDriver
Close View OnDesktopturn on close view (desktop magnifier with option-cmd-[-|+])defaults write com.apple.universalaccess closeViewDriver -bool YES
Cmd-CommaUser Keysset cmd-comma as shortcut for 'Preferences...'defaults write -g NSUserKeyEquivalents -dict-add "Preferences..." "@\U002C"
Colour Variant Aqua.Globalset color variant to Aquadefaults write -g AppleAquaColorVariant -int 1;killall Finder
Colour Variant Graphite.Globalset color variant to graphitedefaults write -g AppleAquaColorVariant -int 6;killall Finder
Colour Variant Read.Globalread color variantdefaults read -g AppleAquaColorVariant
Command Option SpaceHI Toolboxshow status of cmd-option-space toggledefaults read com.apple.HIToolbox AppleCommandOptionSpace
Configuration URLiDiskshow URL for iDisk configurationdefaults read com.apple.internetpref configurationURL
Ctrl Cmd QuitUser Keysset ctrl-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents -dict-add "Quit Safari" "^@Q"
Ctrl-Shift-Option-Cmd-DeleteUser Keysset ctrl-shift-option-cmd-delete as shortcut for 'Delete' (using all four modifiers)defaults write -g NSUserKeyEquivalents -dict-add "Delete" "^$~@\U0008"
Dashboard DisableDashboarddisable Dashboarddefaults write com.apple.dashboard mcx-disabled -boolean YES
Dashboard EnableDashboardenable Dashboarddefaults write com.apple.dashboard mcx-disabled -boolean NO
Dashboard ReadDashboardshow Dashboard statusdefaults read com.apple.dashboard mcx-disabled
Dashboard RestoreDashboardrestore default Dashboard behaviourdefaults delete com.apple.dashboard mcx-disabled
Date Format.Globalshow date formatdefaults read -g NSDateFormatString
Date OrderHI Toolboxshow system date orderdefaults read com.apple.HIToolbox AppleDateOrder
Debug Menu OffAddress Bookdon't show debug menudefaults delete com.apple.addressbook ABShowDebugMenu
Debug Menu OnAddress Bookshow debug menudefaults write com.apple.addressbook ABShowDebugMenu -bool YES
Debug Menu ReadAddress Bookread debug menu flagdefaults read com.apple.addressbook ABShowDebugMenu
Default Open DirectorySafariread default open directorydefaults read com.apple.Safari NSDefaultOpenDirectory
Digital ClockMenu Bar Clockread digital clock statusdefaults read com.apple.MenuBarClock ClockDigital
Disable AnimationsFinderturn animations offdefaults write com.apple.finder DisableAllAnimations -bool YES;killall Finder
Display SecondsMenu Bar Clockread seconds display statusdefaults read com.apple.MenuBarClock DisplaySeconds
Drag DelayDesktopshow drag delaydefaults read -g NSDragAndDropTextDelay
Drag Delay 100Desktopset drag delay to 100 millisecondsdefaults write -g NSDragAndDropTextDelay -int 100
Drag Delay DisableDesktopdisable drag (set delay to negative value)defaults write -g NSDragAndDropTextDelay -int -1
Drag Delay RestoreDesktoprestore default drag delaydefaults delete -g NSDragAndDropTextDelay
DVD Player Debug OffDVD Playerdisable debug menudefaults delete com.apple.dvdplayer EnableDebugging
DVD Player Debug OnDVD Playerenable debug menudefaults write com.apple.dvdplayer EnableDebugging -bool YES
DVD Player Debug ReadDVD Playerread debug menu flagdefaults read com.apple.dvdplayer EnableDebugging
Enable AnimationsFinderturn animations ondefaults delete com.apple.finder DisableAllAnimations;killall Finder
EnabledMenu Bar Clockread status of menu bar clockdefaults read com.apple.MenuBarClock ClockEnabled
Exposé Blob OffExposédisable Exposé blobdefaults write com.apple.dock wvous-floater -bool NO;killall Dock
Exposé Blob OnExposéenable Exposé blobdefaults write com.apple.dock wvous-floater -bool YES; killall Dock
Exposé Corners OffExposéremove semicircles in Exposé cornersdefaults write com.apple.dock wvous-showcorners -bool NO; killall Dock
Exposé Corners OnExposéshow semicircles in Exposé cornersdefaults write com.apple.dock wvous-showcorners -bool YES; killall Dock
Externs In Existing OffSafariturn off opening external links in existing windowdefaults write com.apple.Safari OpenExternalLinksInExistingWindow -bool NO
Externs In Existing OnSafariturn on opening external links in existing windowdefaults write com.apple.Safari OpenExternalLinksInExistingWindow -bool YES
Externs In Existing ReadSafariread toggle of opening external links in existing windowdefaults read com.apple.Safari OpenExternalLinksInExistingWindow
Externs In Existing RestoreSafarirestore default behaviour for opening external links in existing windowdefaults delete com.apple.Safari OpenExternalLinksInExistingWindow
Favicons OffSafaristop storing of faviconsrm -fr ~/Library/Safari/Icons;ln -s /dev/null ~/Library/Safari/Icons
Favicons OnSafariallow storing of faviconsrm ~/Library/Safari/Icons
Finder Quit OffFinderturn Finder Quit menu item offdefaults delete com.apple.finder QuitMenuItem;killall Finder
Finder Quit OnFinderturn Finder Quit menu item ondefaults write com.apple.finder QuitMenuItem -bool YES;killall Finder
Finder Quit ReadFinderread Finder Quit menu item flagdefaults read com.apple.finder QuitMenuItem
Flash SeparatorsMenu Bar Clockread flash separators statusdefaults read com.apple.MenuBarClock FlashSeparators
Flash Update VersionDesktopshow Flash update versioncurl -s http://fpdownload.macromedia.com /pub/flashplayer/update/current/install/version.xml | grep 'update version'
Focus Follow Mouse OnTerminalmake terminal window focus follow the mousedefaults write com.apple.terminal FocusFollowsMouse -string YES
Focus Follow Mouse ReadTerminalread terminal window focus statusdefaults read com.apple.terminal FocusFollowsMouse
Focus Follow Mouse RestoreTerminalrestore normal terminal window focusdefaults delete com.apple.terminal FocusFollowsMouse
Google OffSafariremove Google from address bardefaults write com.apple.Safari AddressBarIncludesGoogle -bool NO
Google OnSafariput Google on address bardefaults write com.apple.Safari AddressBarIncludesGoogle -bool YES
Google ReadSafariread status of Google in address bardefaults read com.apple.Safari AddressBarIncludesGoogle
Google RestoreSafarirestore default status of Google in address bardefaults delete com.apple.Safari AddressBarIncludesGoogle
IE Favorites Imported OffSafariflag IE favorites not importeddefaults write com.apple.Safari IEFavoritesWereImported -bool NO
IE Favorites Imported OnSafariflag IE favorites importeddefaults write com.apple.Safari IEFavoritesWereImported -bool YES
IE Favorites Imported ReadSafariread IE favorites were imported flagdefaults read com.apple.Safari IEFavoritesWereImported
IE Favorites Imported RestoreSafarirestore default IE favorites imported flagdefaults delete com.apple.Safari IEFavoritesWereImported
Ignore Typing Filter.Globalshow ignore typing filterdefaults read -g com.apple.mouse.ignoreTypingFilter
Include Debug Menu OffSafaridon't show debug menudefaults write com.apple.Safari IncludeDebugMenu -bool NO
Include Debug Menu OnSafarishow debug menudefaults write com.apple.Safari IncludeDebugMenu -bool YES
Include Debug Menu ReadSafariread debug menu flagdefaults read com.apple.Safari IncludeDebugMenu
Include Debug Menu RestoreSafarirestore default debug menu statusdefaults delete com.apple.Safari IncludeDebugMenu
Index PublishSpotlightpublish indexes to drivesudo mdutil -p /
Index StatusSpotlightshow Spotlight index statussudo mdutil -s /
Indexing OffSpotlightturn Spotlight indexing offsudo mdutil -i off /
Indexing OnSpotlightturn Spotlight indexing onsudo mdutil -i on /
Initial Timed Delay MinimiseSafariminimise Safari initial timed delaydefaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.000001
Initial Timed Delay ReadSafariread Safari initial timed delaydefaults read com.apple.Safari WebKitInitialTimedLayoutDelay
Initial Timed Delay RestoreSafarirestore Safari initial timed delaydefaults delete com.apple.Safari WebKitInitialTimedLayoutDelay
iPod CopyiPodcopy iPod songs to hard drive ( is the iPod volume)cp -R /Volumes//iPod_Control ~/Documents
Itlc General FlagsHI Toolboxshow system itlc general flagsdefaults read com.apple.HIToolbox AppleItlcGenFlags
Java OffSafariturn off Javadefaults write com.apple.Safari WebKitJavaEnabled -bool NO
Java OnSafariturn on Javadefaults write com.apple.Safari WebKitJavaEnabled -bool YES
Java ReadSafariread status of Javadefaults read com.apple.Safari WebKitJavaEnabled
Java RestoreSafarirestore default Java statusdefaults delete com.apple.Safari WebKitJavaEnabled
JavaScript OffSafariturn off JavaScriptdefaults write com.apple.Safari WebKitJavaScriptEnabled -bool NO
JavaScript OnSafariturn on JavaScriptdefaults write com.apple.Safari WebKitJavaScriptEnabled -bool YES
JavaScript ReadSafariread status of JavaScriptdefaults read com.apple.Safari WebKitJavaScriptEnabled
JavaScript RestoreSafarirestore default JavaScript statusdefaults delete com.apple.Safari WebKitJavaScriptEnabled
Key EquivalentsUser Keysread key equivalentsdefaults read -g NSUserKeyEquivalents
Key Equivalents RemoveUser Keysdelete all key equivalentsdefaults delete -g NSUserKeyEquivalents
Languages.Globalshow preferred languages in order of preferencedefaults read -g AppleLanguages
Large Size ReadDockread icon large sizedefaults read com.apple.dock largesize
Last Version RunSafariread last version rundefaults read com.apple.Safari LastVersionRun
Launch Animation OffDockturn launch animation offdefaults write com.apple.dock launchanim -bool NO;killall Dock
Launch Animation OnDockturn launch animation ondefaults write com.apple.dock launchanim -bool YES;killall Dock
Launch Animation ReadDockread launch animation flagdefaults read com.apple.dock launchanim
Launch Animation RestoreDockrestore default launch animation flagdefaults delete com.apple.dock launchanim;killall Dock
Local Info DefaultiTunesmake click (w/o option) default to show local infodefaults write com.apple.iTunes invertStoreLinks -bool YES
Local Info RestoreiTunesrestore default click local info click actiondefaults delete com.apple.iTunes invertStoreLinks
Magnification OffDockturn off Dock magnificationdefaults delete com.apple.dock magnification;killall Dock
Magnification OnDockturn on Dock magnificationdefaults write com.apple.dock magnification -bool YES;killall Dock
Magnification ReadDockread magnification flagdefaults read com.apple.dock magnification
Make File ExecutableTerminalmakes a text file a UNIX executablechmod +x[path to file]
Max Label Lines 1Finderset maximum label lines to 1defaults write com.apple.finder MaximumLabelLines -int 1;killall Finder
Max Label Lines 1Finderset maximum label lines to 1defaults write com.apple.finder MaximumLabelLines -integer 1;killall Finder
Max Label Lines 2Finderset maximum label lines to 2defaults write com.apple.finder MaximumLabelLines -int 2;killall Finder
Max Label Lines 2Finderset maximum label lines to 2defaults write com.apple.finder MaximumLabelLines -integer 2;killall Finder
Max Label Lines 3Finderset maximum label lines to 3defaults write com.apple.finder MaximumLabelLines -int 3;killall Finder
Max Label Lines 3Finderset maximum label lines to 3defaults write com.apple.finder MaximumLabelLines -integer 3;killall Finder
Max Label Lines DefaultFinderset maximum label lines to defaultdefaults delete com.apple.finder MaximumLabelLines;killall Finder
Max Label Lines ReadFinderread maximum label lines valuedefaults read com.apple.finder MaximumLabelLines
MeAddress Bookshow info on 'me' accountdefaults read AddressBookMe
Mineffect DefaultDockuse default mineffectdefaults delete com.apple.dock mineffect;killall Dock
Mineffect GenieDockuse Genie mineffectdefaults write com.apple.dock mineffect -string genie;killall Dock
Mineffect ReadDockread mineffect valuedefaults read com.apple.dock mineffect
Mineffect ScaleDockuse Scale mineffectdefaults write com.apple.dock mineffect -string scale;killall Dock
Mineffect SuckDockuse Suck mineffectdefaults write com.apple.dock mineffect -string suck;killall Dock
Minimum HTML Font SizeMailset minimum HTML font sizedefaults write com.apple.mail MinimumHTMLFontSize 14
Modification CountDockread dock modification countdefaults read com.apple.dock mod-count
Modify iTunes Link ArrowsiTunesarrows jump to ITMSdefaults write com.apple.iTunes invertStoreLinks -boolean NO
Modify iTunes Link ArrowsiTunesarrows jump to librarydefaults write com.apple.iTunes invertStoreLinks -boolean YES
Month Names.Globalshow month namesdefaults read -g NSMonthNameArray
N/M Favorites Imported OffSafariflag Netscape/Mozilla favorites not importeddefaults write com.apple.Safari NetscapeAndMozillaFavoritesWereImported -bool NO
N/M Favorites Imported OnSafariflag Netscape/Mozilla favorites importeddefaults write com.apple.Safari NetscapeAndMozillaFavoritesWereImported -bool YES
N/M Favorites Imported ReadSafariread Netscape/Moz favorites imported flagdefaults read com.apple.Safari NetscapeAndMozillaFavoritesWereImported
N/M Favorites Imported RestoreSafarirestore default Netscape/Mozilla favorites imported flagdefaults delete com.apple.Safari NetscapeAndMozillaFavoritesWereImported
Opaqueness ReadTerminalread opaquenessdefaults read com.apple.Terminal TerminalOpaqueness
Opaqueness RestoreTerminalrestore default opaquenessdefaults delete com.apple.Terminal TerminalOpaqueness
Opaqueness Set LowTerminalset low opaquenessdefaults write com.apple.Terminal TerminalOpaqueness 0.2
Opaqueness Set MediumTerminalset medium opaquenessdefaults write com.apple.Terminal TerminalOpaqueness 0.7
Option Click Cursor OffTerminaldisable option click cursor movedefaults delete com.apple.Terminal OptionClickToMoveCursor
Option Click Cursor OnTerminalenable option click cursor movedefaults write com.apple.Terminal OptionClickToMoveCursor -bool YES
Option Cmd QuitUser Keysset option-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents '{""Quit Safari" = "~@Q";}'
Orientation BottomDockput Dock at bottom of desktopdefaults write com.apple.dock orientation -string bottom;killall Dock
Orientation LeftDockput Dock at left of desktopdefaults write com.apple.dock orientation -string left;killall Dock
Orientation ReadDockread orientation valuedefaults read com.apple.dock orientation
Orientation RightDockput Dock at right of desktopdefaults write com.apple.dock orientation -string right;killall Dock
Orientation TopDockput Dock on top of desktopdefaults write com.apple.dock orientation -string top;killall Dock
Other Highlight Color.Globalshow other highlight colourdefaults read -g AppleOtherHighlightColor
Persistent AppsDockread persistent Dock apps in placement order (Finder assumed)defaults read com.apple.dock persistent-apps | grep "file-label" | sed ``/"\"file-label\" = "/s///'' | sed ``/\;/s///'' | sed ``/\"/s///'' | sed ``/\"/s///'' | sed ``/" "/s///''
Persistent Apps PathsDockread persistent dock apps paths in placement order (Finder assumed)defaults read com.apple.dock persistent-apps | grep _CFURLString\" | sed s/\"\;// | sed s/" \"_CFURLString\" = \""//
Persistent Apps Paths SortedDockread persistent dock apps paths sorted alphabetically (Finder assumed)defaults read com.apple.dock persistent-apps | grep _CFURLString\" | sed s/\"\;// | sed s/" \"_CFURLString\" = \""// | sort
Persistent Apps SortedDockread persistent Dock apps sorted alphabetically (Finder assumed)defaults read com.apple.dock persistent-apps | grep "file-label" | sed ``/"\"file-label\" = "/s///'' | sed ``/\;/s///'' | sed ``/\"/s///'' | sed ``/\"/s///'' | sed ``/" "/s///'' | sort
Persistent OthersDockshow persistent others on dockdefaults read com.apple.dock persistent-others
Pinning EndDockpin Dock at end of its sidedefaults write com.apple.dock pinning -string end;killall Dock
Pinning MiddleDockpin Dock in middle of its sidedefaults delete com.apple.dock pinning;killall Dock
Pinning ReadDockread pinning valuedefaults read com.apple.dock pinning
Pinning StartDockpin Dock at start of its sidedefaults write com.apple.dock pinning -string start;killall Dock
Plugins OffSafariturn off pluginsdefaults write com.apple.Safari WebKitPluginsEnabled -bool NO
Plugins OnSafariturn on pluginsdefaults write com.apple.Safari WebKitPluginsEnabled -bool YES
Plugins ReadSafariread status of pluginsdefaults read com.apple.Safari WebKitPluginsEnabled
Plugins RestoreSafarirestore default plugins statusdefaults delete com.apple.Safari WebKitPluginsEnabled
Prefer Plain Text OnMailforce Mail to only display plain textdefaults write com.apple.mail PreferPlainText -bool YES
Prefer Plain Text ReadMailread Prefer Plain Text settingdefaults read com.apple.mail PreferPlainText
Prefer Plain Text RestoreMailrestore Prefer Plain Text defaultdefaults delete com.apple.mail PreferPlainText
Preferences VersionMenu Bar Clockread preferences versiondefaults read com.apple.MenuBarClock PreferencesVersion
Prohibit Burn OffFinderallow burning mediadefaults delete com.apple.finder ProhibitBurn;killall Finder
Prohibit Burn OnFinderprohibit burning mediadefaults write com.apple.finder ProhibitBurn -bool YES;killall Finder
Prohibit Connect To OffFinderallow use of 'Connect To'defaults delete com.apple.finder ProhibitConnectTo;killall Finder
Prohibit Connect To OnFinderprohibit use of 'Connect To'defaults write com.apple.finder ProhibitConnectTo -bool YES;killall Finder
Prohibit Eject OffFinderallow use of 'Eject'defaults delete com.apple.finder ProhibitEject;killall Finder
Prohibit Eject OnFinderprohibit use of 'Eject'defaults write com.apple.finder ProhibitEject -bool YES;killall Finder
Prohibit Empty Trash OffFinderallow emptying trashdefaults delete com.apple.finder ProhibitEmptyTrash;killall Finder
Prohibit Empty Trash OnFinderprohibit emptying trashdefaults write com.apple.finder ProhibitEmptyTrash -bool YES;killall Finder
Prohibit Goto Folder OffFinderallow use of 'Goto Folder'defaults delete com.apple.finder ProhibitGoToFolder;killall Finder
Prohibit Goto Folder OnFinderprohibit 'Goto Folder'defaults write com.apple.finder ProhibitGoToFolder -bool YES;killall Finder
Prohibit Goto iDisk OffFinderallow access to iDiskdefaults delete com.apple.finder ProhibitGoToiDisk;killall Finder
Prohibit Goto iDisk OnFinderprohibit access to iDiskdefaults write com.apple.finder ProhibitGoToiDisk -bool YES;killall Finder
Prohibit Preferences OffFinderallow use of preferencesdefaults delete com.apple.finder ProhibitFinderPreferences;killall Finder
Prohibit Preferences OnFinderprohibit use of preferencesdefaults write com.apple.finder ProhibitFinderPreferences -bool YES;killall Finder
QuitFinder OffDockdon't show Quit item on Finder's Dock menudefaults delete com.apple.dock QuitFinder;killall Dock
QuitFinder OnDockshow Quit item on Finder's Dock menudefaults write com.apple.dock QuitFinder -bool YES;killall Dock
QuitFinder ReadDockread Quit Finder flagdefaults read com.apple.dock QuitFinder
Recent Menu Limit 10Safarilimit number of recent menu items to 10defaults write RecentHistoryMenuItemsLimit 10
Recent Menu Limit ReadSafarilimit number of recent menu itemsdefaults read RecentHistoryMenuItemsLimit
Recent Menu Limit RestoreSafarilimit number of recent menu itemsdefaults delete RecentHistoryMenuItemsLimit
Recent SearchesSafarishow recent search stringsdefaults read com.apple.safari RecentSearchStrings
Recent Searches CleanSafariclean recent search stringsdefaults delete com.apple.safari RecentSearchStrings
Recents LimitDesktopshow recent documents limitdefaults read -g NSRecentDocumentsLimit
Recents Limit 0Desktopset recent documents limit to 0defaults write -g NSRecentDocumentsLimit -int 0
Recents Limit 10Desktopset recent documents limit to 10defaults write -g NSRecentDocumentsLimit -int 10
Remove IndexesSpotlightremove Spotlight indexessudo mdutil -E /
Remove StoreSpotlightremove Spotlight storesudo rm -fr /.Spotlight-V100
Report Bug OnSafarishow 'Report Bug' in address bardefaults write com.apple.Safari AddressBarIncludesReportBug -bool YES
Report Bug ReadSafariread status of 'Report Bug' in address bardefaults read com.apple.Safari AddressBarIncludesReportBug
Report Bug RestoreSafarirestore default status of 'Report Bug' in address bardefaults delete com.apple.Safari AddressBarIncludesReportBug
Scroll Bar DoubleBoth.Globaluse scroll bar variant DoubleBothdefaults write -g AppleScrollBarVariant -string DoubleBoth;killall Finder
Scroll Bar DoubleMax.Globaluse scroll bar variant DoubleMaxdefaults write -g AppleScrollBarVariant -string DoubleMax;killall Finder
Scroll Bar DoubleMin.Globaluse scroll bar variant DoubleMindefaults write -g AppleScrollBarVariant -string DoubleMin;killall Finder
Scroll Bar Read.Globalread scroll bar variantdefaults read -g AppleScrollBarVariant
Scroll Bar Single.Globaluse scroll bar variant Singledefaults write -g AppleScrollBarVariant -string Single;killall Finder
Shadow OffDockdon't show shadow in Dockdefaults delete com.apple.dock showshadow;killall Dock
Shadow OnDockshow shadow in Dockdefaults write com.apple.dock showshadow -bool YES;killall Dock
Shadow ReadDockread shadow flagdefaults read com.apple.dock showshadow
Shift Cmd QuitUser Keysset shift-cmd-Q as quit shortcut (Safari as example)defaults write -g NSUserKeyEquivalents '{""Quit Safari" = "@Q";}'
Short Date Format.Globalshow short date formatdefaults read -g NSShortDateFormatString
Short Date FormatHI Toolboxshow system short date formatdefaults read com.apple.HIToolbox AppleShortDateFormat
Short Date SeparatorHI Toolboxshow system short date separatordefaults read com.apple.HIToolbox AppleShortDateSeparator
Short Month Names.Globalshow short month namesdefaults read -g NSShortMonthNameArray
Short Weekdays.Globalshow short weekdaysdefaults read -g NSShortWeekDayNameArray
Show All Extensions Off.Globalturn off extensions in Finder and file dialogsdefaults delete -g AppleShowAllFiles;killall Finder
Show All Extensions On.Globalturn on extensions in Finder and file dialogsdefaults write -g AppleShowAllFiles -bool YES;killall Finder
Show All Files OffDockdon't show all files in Dockdefaults delete com.apple.dock AppleShowAllFiles;killall Dock
Show All Files OffFinderdon't show all files in Finderdefaults delete com.apple.finder AppleShowAllFiles;killall Finder
Show All Files OnDockshow all files in Dockdefaults write com.apple.dock AppleShowAllFiles -bool YES;killall Dock
Show All Files OnFindershow all files in Finderdefaults write com.apple.finder AppleShowAllFiles -bool YES;killall Finder
Show All Files ReadDockread show all files flagdefaults read com.apple.dock AppleShowAllFiles
Show All Files ReadFinderread show all files flagdefaults read com.apple.finder AppleShowAllFiles
Show DayMenu Bar Clockread day display statusdefaults read com.apple.MenuBarClock ShowDay
Show Desktop Window OffExposéshow ordinary desktopdefaults write com.apple.dock wvous-olddesktop -bool YES; killall Dock
Show Desktop Window OnExposéshows desktop in a minimised windowdefaults write com.apple.dock wvous-olddesktop -bool NO;killall Dock
Show Hidden OffDockdon't show hidden files in Dockdefaults delete com.apple.dock showhidden;killall Dock
Show Hidden OnDockshow hidden files in Dockdefaults write com.apple.dock showhidden -bool YES;killall Dock
Show Hidden ReadDockread hidden files flagdefaults read com.apple.dock showhidden
Show QuartzQuartzshow Quartz drawing (Safari as example)/Applications/Safari.app/Contents/MacOS/Safari -NSShowAllDrawing YES -NSShowAllViews YES -NSShowAllWindows YES &
Show Quartz AllQuartzshow all Quartz drawing (Mail as example)/Applications/Mail.app/Contents/MacOS/Mail -NSDebugViewDrawing YES -NSDrawAllViews YES -NSMeasureViewDrawing YES -NSShowAllDrawing YES -NSShowAllDrawingColor YES -NSShowAllViews YES -NSShowAllWindows YES &
Spell Checking OffSafariturn off spell checkingdefaults write com.apple.Safari WebContinuousSpellCheckingEnabled -bool NO
Spell Checking OnSafariturn on spell checkingdefaults write com.apple.Safari WebContinuousSpellCheckingEnabled -bool YES
Spell Checking ReadSafarishow spell checking statusdefaults read com.apple.Safari WebContinuousSpellCheckingEnabled
Spell Checking RestoreSafarirestore default spell checking statusdefaults delete com.apple.Safari WebContinuousSpellCheckingEnabled
Spell Server Language.Globalshow preferred spell server languagedefaults read -g NSPreferredSpellServerLanguage
Spell Server Vendors.Globalshow preferred spell server vendorsdefaults read -g NSPreferredSpellServerVendors
Status Bar OffSafaritoggle status bar offdefaults write com.apple.Safari ShowStatusBar -bool NO
Status Bar OnSafaritoggle status bar ondefaults write com.apple.Safari ShowStatusBar -bool YES
Status Bar ReadSafariread toggle of status bardefaults read com.apple.Safari ShowStatusBar
Status Bar RestoreSafarirestore default toggle of status bardefaults delete com.apple.Safari ShowStatusBar
System UI ServerDesktopshow UI server menuletsdefaults read com.apple.systemuiserver
System Version Stamp NumberLogin Windowshow system version stamp as numberdefaults read loginwindow SystemVersionStampAsNumber
System Version Stamp StringLogin Windowshow system version stamp as stringdefaults read loginwindow SystemVersionStampAsString
Tabbed Browsing OffSafariturn off tabbed browsingdefaults write com.apple.Safari TabbedBrowsing -bool NO
Tabbed Browsing OnSafariturn on tabbed browsingdefaults write com.apple.Safari TabbedBrowsing -bool YES
Tabbed Browsing ReadSafariread tabbed browsing statusdefaults read com.apple.Safari TabbedBrowsing
Tabbed Browsing RestoreSafarirestore tabbed browsing defaultdefaults delete com.apple.Safari TabbedBrowsing
Tile SizeDockshow tile sizedefaults read com.apple.dock tilesize
Time CycleHI Toolboxshow system time cycledefaults read com.apple.HIToolbox AppleTimeCycle
Time Format.Globalshow time formatdefaults read -g NSTimeFormatString
Trash CleanTrashclean ~/.Trash directorysudo rm -fr ~/.Trash/*
Trash Full OffDockset trash to emptydefaults write com.apple.dock trash-full -bool NO;killall Dock
Trash Full OnDockset trash to fulldefaults write com.apple.dock trash-full -bool YES;killall Dock
Trash Full ReadDockshow trash full statusdefaults read com.apple.dock trash-full
Trash PurgeTrashpurge ~/.Trash directorysudo rm -fPr ~/.Trash/*
Unexpected Quit BypassCrashReporterbypass the Unexpected Quit dialog (show submit screen)defaults write com.apple.CrashReporter DialogType crashreport
Unexpected Quit DefaultCrashReporterturn on default Unexpected Quit dialogdefaults delete com.apple.CrashReporter DialogType
Unexpected Quit OffCrashReporterturn off Unexpected Quit dialogdefaults write com.apple.CrashReporter DialogType none
User Idle TimeoutiChatset user idle timeout (seconds)defaults write com.apple.ichatagent UserIdleTimeout 600
User Idle Timeout ReadiChatshow user idle timeout (seconds)defaults read com.apple.ichatagent UserIdleTimeout
User Idle Timeout RestoreiChatset default user idle timeoutdefaults delete com.apple.ichatagent UserIdleTimeout
WebKit History Limit 25Safariset history entry limit to 25defaults write com.apple.Safari WebKitHistoryItemLimit 25
WebKit History Limit ReadSafariread history entry limitdefaults read com.apple.Safari WebKitHistoryItemLimit
WebKit History Limit RestoreSafarirestore history entry limitdefaults delete com.apple.Safari WebKitHistoryItemLimit
WebKit Minimum Fixed FontSafariset fixed font minimum sizedefaults write com.apple.Safari WebKitMinimumFixedFontSize 10
WebKit Minimum Fixed Font ReadSafariread fixed font minimum sizedefaults read com.apple.Safari WebKitMinimumFixedFontSize
WebKit Minimum Fixed Font RestoreSafarirestore fixed font minimum sizedefaults delete com.apple.Safari WebKitMinimumFixedFontSize
WebKit Minimum FontSafariset font minimum sizedefaults write com.apple.Safari WebKitMinimumFontSize 10
WebKit Minimum Font ReadSafariread font minimum sizedefaults read com.apple.Safari WebKitMinimumFontSize
WebKit Minimum Font RestoreSafarirestore font minimum sizedefaults delete com.apple.Safari WebKitMinimumFontSize
Weekdays.Globalshow weekdaysdefaults read -g NSWeekDayNameArray
Window Frame ReadSafariread window framedefaults read com.apple.Safari NSWindow\ Frame\ BrowserWindowFrame
Window Frame RestoreSafarirestore default window framedefaults delete com.apple.Safari NSWindow\ Frame\ BrowserWindowFrame
Zoom Rects OffFinderdon't use zoom rects in Finderdefaults delete com.apple.finder ZoomRects;killall Finder
Zoom Rects OnFinderuse zoom rects in Finderdefaults write com.apple.finder ZoomRects -bool YES;killall Finder
Zoom Rects ReadFinderread zoom rects flagdefaults read com.apple.finder ZoomRects

Developer

SizeDevelopershow size of sections of object filesize /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch AllDevelopershow size of sections of object file for all architecturessize -arch all /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch HPPADevelopershow size of sections of object file for HPPA architecturesize -arch hppa /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch HPPA7100LCDevelopershow size of sections of object file for HPPA7100LC architecturesize -arch hppa7100LC /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i386Developershow size of sections of object file for i386 architecturesize -arch i386 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i486Developershow size of sections of object file for i486 architecturesize -arch i486 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i486SXDevelopershow size of sections of object file for i486SX architecturesize -arch i486SX /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i586Developershow size of sections of object file for i586 architecturesize -arch i586 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch i860Developershow size of sections of object file for i860 architecturesize -arch i860 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68030Developershow size of sections of object file for M68030 architecturesize -arch m68030 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68040Developershow size of sections of object file for M68040 architecturesize -arch m68040 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M68KDevelopershow size of sections of object file for M68K architecturesize -arch m68k /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch M88KDevelopershow size of sections of object file for M88K architecturesize -arch m88k /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PentiumDevelopershow size of sections of object file for Pentium architecturesize -arch pentium /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium II M3Developershow size of sections of object file for Pentium II M3 architecturesize -arch pentIIm3 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium II M5Developershow size of sections of object file for Pentium II M5 architecturesize -arch pentIIm5 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch Pentium ProDevelopershow size of sections of object file for Pentium Pro architecturesize -arch pentpro /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPCDevelopershow size of sections of object file for PPC architecturesize -arch ppc /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC601Developershow size of sections of object file for PPC601 architecturesize -arch ppc601 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC603EDevelopershow size of sections of object file for PPC603E architecturesize -arch ppc603e /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC603EVDevelopershow size of sections of object file for PPC603EV architecturesize -arch ppc603ev /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC604Developershow size of sections of object file for PPC604 architecturesize -arch ppc604 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC604EDevelopershow size of sections of object file for PPC604E architecturesize -arch ppc604e /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC7400Developershow size of sections of object file for PPC7400 architecturesize -arch ppc7400 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC7450Developershow size of sections of object file for PPC7450 architecturesize -arch ppc7450 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch PPC750Developershow size of sections of object file for PPC750 architecturesize -arch ppc750 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch SparcDevelopershow size of sections of object file for Sparc architecturesize -arch sparc /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEODevelopershow size of sections of object file for VEO architecturesize -arch veo /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEO1Developershow size of sections of object file for VEO1 architecturesize -arch veo1 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Arch VEO2Developershow size of sections of object file for VEO2 architecturesize -arch veo2 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size LongDevelopershow size of sections of object file long formatsize -l /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Long HexDevelopershow size of sections of object file long format hex formatsize -l -x /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Mach-ODevelopershow size of sections of object file and Mach-O datasize -m /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Size Mach-O HexDevelopershow size of sections of object file and Mach-O data hex formatsize -m -x /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

Disk

Check RAIDDiskcheck a RAID set for errorssudo diskutil checkRAID
Create Sparse ImageDiskcreate sparse disk imagecd ~/Desktop; hdiutil create Image_Name -size 1g -type SPARSE -fs HFS+ -volname Volume_Name
Create Sparse Image EncryptDiskcreate encrypted sparse disk imagecd ~/Desktop; hdiutil create Image_Name -size 1g -encryption -type SPARSE -fs HFS+ -volname Volume_Name
Disk Free SpaceDiskshow free disk spacedf -i
Disk Image Verify OffDisk Imagesskip disk image verificationdefaults write com.apple.frameworks.diskimages skip-verify true
Disk Image Verify OnDisk Imagesenable disk image verificationdefaults write com.apple.frameworks.diskimages skip-verify false
Disk InfoDiskshow fixed disk infosudo diskutil info disk0
Disk Usage IDiskshow disk usage statistics (huge output)sudo du -c / | sort -n -r
Disk Usage IIDiskdump disk usage statistics to disksudo du -c / | sort -n -r > /tmp/du.rtx;open /tmp/du.rtx
Disktool Device StatusDiskshow volinfo status (disk0s9 used as example)disktool -S disk0s9
Disktool HFS EncodingDiskget HFS encoding on a volume (disk0s9 used as example)disktool -g disk0s9
Disktool ListDiskshow disks known and available on the systemdisktool -l
Disktool List AppearedDiskshow disks appearing on the systemdisktool -l | grep Appeared
Disktool RefreshDiskcause arbitration to refresh internal tables and look for new mounts/unmountsdisktool -r
Expert Mode OffDisk Copyturn off expert mode in Disk Copydefaults delete com.apple.diskcopy expert-mode
Expert Mode OnDisk Copyturn on expert mode in Disk Copydefaults write com.apple.diskcopy expert-mode -bool YES
Expert Mode ReadDisk Copyread Disk Copy expert mode flagdefaults read com.apple.diskcopy expert-mode
Internet Enabled OffDisk Imagesstop special treatment of internet enabled disk imagesdefaults write com.apple.frameworks.diskimages skip-idme true
Internet Enabled OnDisk Imagesenable special treatment of internet-enabled disk imagesdefaults delete com.apple.frameworks.diskimages skip-idme
Journaling OffDiskdisable HFS+ disk journalingsudo diskutil disableJournal /
Journaling OnDiskenable HFS+ disk journalingsudo diskutil enableJournal /
Repair DiskDiskrepair volume structure (may not be system disk)sudo diskutil repairDisk /
Repair PermissionsDiskrepair volume permissions (may not be system disk)sudo diskutil repairPermissions /
Root InfoDiskget information on boot volumediskutil info /
Show MountsDiskshow mounted drive infomount -v
Update PrebindingDiskupdate prebindingsudo update_prebinding -root /
Update Prebinding ForceDiskforce update prebindingsudo update_prebinding -force -root /
Verify Burn OffDisk Utilityturns of verify after burndefaults write com.apple.DiskUtility DRBurnOptionsVerifyBurn -bool NO
Verify Burn OnDisk Utilityturns on verify after burndefaults write com.apple.DiskUtility DRBurnOptionsVerifyBurn -bool YES
Verify DiskDiskverify volume structure (may not be system disk)sudo diskutil verifyDisk /
Verify PermissionsDiskverify volume permissions (may not be system disk)sudo diskutil verifyPermissions /

Echo

Echo _Echoecho _echo $_
Echo __CF_USER_TEXT_ENCODINGEchoecho __CF_USER_TEXT_ENCODINGecho $__CF_USER_TEXT_ENCODING
Echo BASHEchoecho BASHecho $BASH
Echo BASH_VERSIONEchoecho BASH_VERSIONecho $BASH_VERSION
Echo DIRSTACKEchoecho DIRSTACKecho $DIRSTACK
Echo EUIDEchoecho EUIDecho $EUID
Echo GROUPSEchoecho GROUPSecho $GROUPS
Echo HOMEEchoecho HOMEecho $HOME
Echo HOSTNAMEEchoecho HOSTNAMEecho $HOSTNAME
Echo HOSTTYPEEchoecho HOSTTYPEecho $HOSTTYPE
Echo LANGEchoecho LANGecho $LANG
Echo MACHTYPEEchoecho MACHTYPEecho $MACHTYPE
Echo OPTERREchoecho OPTERRecho $OPTERR
Echo OPTINDEchoecho OPTINDecho $OPTIND
Echo OSTYPEEchoecho OSTYPEecho $OSTYPE
Echo PATHEchoecho PATHecho $PATH
Echo POSIXLY_CORRECTEchoecho POSIXLY_CORRECTecho $POSIXLY_CORRECT
Echo PPIDEchoecho PPIDecho $PPID
Echo PS4Echoecho PS4echo $PS4
Echo PWDEchoecho PWDecho $PWD
Echo setEchoecho setecho `set`
Echo SHELLEchoecho SHELLecho $SHELL
Echo SHELLOPTSEchoecho SHELLOPTSecho $SHELLOPTS
Echo SHLVLEchoecho SHLVLecho $SHLVL
Echo TERMEchoecho TERMecho $TERM
Echo UIDEchoecho UIDecho $UID
Echo USEREchoecho USERecho $USER

List

.DS_Store /Listlist all .DS_Store files on hard drivesudo find / -name \.DS_Store
.DS_Store ~Listlist all .DS_Store files in home directoryfind ~ -name \.DS_Store
App ProfileListlist contents of app_profile directorysudo ls -ailoR /var/vm/app_profile
Apps /Listlist all .app packages on hard drivesudo find / -name '*\.app' -type d | grep -v /dev
Apps ~Listlist all .app packages in home directoryfind ~ -name '*\.app' -type d
BackupsListlist contents of backups directorysudo ls -ailoR /var/backups
CronListlist contents of cron directorysudo ls -ailoR /var/cron
Defaults Domains /Listlist all defaults domains on hard drivesudo find /Library/Preferences -name '*\.plist' | grep -v /dev | sed /\.plist/s///;find ~/Library/Preferences -name '*\.plist' | sed /\.plist/s///
Defaults Domains ~Listlist all defaults domains at homefind ~/Library/Preferences -name '*\.plist' | sed /\.plist/s///
Frameworks /Listlist all frameworks on hard drivefind / -name '*\.framework' -type d | grep -v /dev
Frameworks ~Listlist all frameworks in home directoryfind ~ -name '*\.framework' -type d
Libraries /Listlist all Library directories on hard drivesudo find / -name Library -type d | grep -v /dev
Libraries ~Listlist all Library directories in home directorysudo find ~ -name Library -type d
List /etcListlist contents of /etcsudo ls -aiLloR /etc
List /privateListlist contents of /privatesudo ls -ailoR /private
List /tmpListlist contents of /tmpsudo ls -aiLloR /tmp
List /varListlist contents of /varsudo ls -aiLloR /var
NetInfoListlist contents of NetInfo directorysudo ls -ailoR /var/db/NetInfo
NIBs /Listlist all NIBs on hard drivesudo find / -name '*\.nib' -type d | grep -v /dev
NIBs ~Listlist all NIBs in home directorysudo find ~ -name '*\.nib' -type d
Open FilesListlist open fileslsof -l +L -R -V
Open LDAPListlist contents of /var/db/openldapsudo ls -ailoR /var/db/openldap
Open Network FilesListlist open network fileslsof -l -i +L -R -V
Open Unix FilesListlist open Unix domain socket fileslsof -l +L -R -U -V
PartitionsListlist fixed disk partitionsdiskutil list
PreferencesListlist all preferences directories on hard drivesudo find / -name Preferences -type d | grep -v /dev
Property Lists /Listlist all property list files on hard drivesudo find / -name '*\.plist' | grep -v /dev
Property Lists ~Listlist all property list files in home directoryfind ~ -name '*\.plist'
ReceiptsListlist contents of Receipts directorysudo ls -ailoR /Library/Receipts
Recent FoldersListlist recent folders (two methods)defaults read -g AppleRecentFolders;defaults read -g AppleRecentFolders
Root HomeListlist contents of root home directorysudo ls -ailoR /var/root
SambaListlist contents of /var/db/sambasudo ls -ailoR /var/db/samba
Screen Savers /Listlist all screen savers on hard drivesudo find / -name '*\.saver' -type d | grep -v /dev
Screen Savers ~Listlist all screen savers in home directoryfind ~ -name '*\.saver' -type d
SpoolListlist contents of /var/spoolsudo ls -ailoR /var/spool
SudoListlist contents of sudo directorysudo ls -ailoR /var/run/sudo
TrashListlist contents of ~/.Trash directorysudo ls -ailoR ~/.Trash
TrashesListlist contents of /.Trashes directorysudo ls -ailoR /.Trashes
VMListlist contents of vm directorysudo ls -ailoR /var/vm

Log

Console LogLogread console logcat /var/tmp/console.log
Console Log CleanLogclean console logsudo rm -f /var/tmp/console.log
Console Log PurgeLogpurge console logsudo rm -fP /var/tmp/console.log
Crash ReporterLogread crash reporter logsopen -e /Library/Logs/CrashReporter/* ~/Library/Logs/CrashReporter/*
Crash Reports CleanLogclean crash reportsfind ~/Library/Logs/CrashReporter -type f -exec rm -fr {} \\;
Crash Reports PurgeLogpurge crash reportsfind ~/Library/Logs/CrashReporter -type f -exec rm -fP {} \\;
CUPS access_logLogread CUPS access_logcat /var/log/cups/access_log
CUPS error_logLogread CUPS error_logcat /var/log/cups/error_log
CUPS LogsLogread CUPS logsecho CUPS access log;echo ===============;cat /var/log/cups/access_log;echo CUPS error log;echo ==============;cat /var/log/cups/error_log
CUPS Logs CleanLogclean CUPS log filessudo rm -f /var/log/cups/*
CUPS Logs PurgeLogpurge CUPS log filessudo rm -fP /var/log/cups/*
CUPS page_logLogread CUPS page_logcat /var/log/cups/page_log
daily.outLogread daily.out logcat /var/log/daily.out
daily.out CleanLogclean daily.out logsudo rm -f /var/log/daily.out
daily.out PurgeLogpurge daily.out logsudo rm -fP /var/log/daily.out
FTP LogLogread FTP logcat /var/log/ftp.log
HTTPD Access LogLogread HTTPD access logcat /var/log/httpd/access_log
HTTPD Access Log CleanLogclean HTTPD access logsudo rm -fr /var/log/httpd/access_log
HTTPD Access Log PurgeLogpurge HTTPD access logsudo rm -fP /var/log/httpd/access_log
HTTPD Error LogLogread HTTPD error logcat /var/log/httpd/error_log
HTTPD Error Log CleanLogclean HTTPD error logsudo rm -fr /var/log/httpd/error_log
HTTPD Error Log PurgeLogpurge HTTPD error logsudo rm -fP /var/log/httpd/error_log
httpd LogLogshow httpd logcat /var/log/httpd/access_log
httpd Log CleanLogclean httpd logsudo rm -fr /var/log/httpd/access_log
httpd Log PurgeLogclean httpd logsudo rm -fP /var/log/httpd/access_log
Library LogsLogread library logsecho Reading /Library logs...;find /Library/Logs -name *\\.log -exec cat {} \\;;echo Reading ~/Library logs...;find ~/Library/Logs -name *\\.log -exec cat {} \\;;echo Done.
Library Logs CleanLogclean library logsecho Cleaning /Library logs...;find /Library/Logs -name *\\.log -exec rm -fr {} \\;;echo Cleaning ~/Library logs...;find ~/Library/Logs -name *\\.log -exec rm -fr {} \\;;echo Done.
Library Logs PurgeLogpurge library logsecho Purging /Library logs...;find /Library/Logs -name *\\.log -exec rm -fP {} \\;;echo Purging ~/Library logs...;find ~/Library/Logs -name *\\.log -exec rm -fP {} \\;;echo Done.
Logs CleanLogclean log filesrm -f /tmp/DebugLog.log;find /Library/Logs -name *\\.log -exec rm -f {} \\;;find ~/Library/Logs -name *\\.log -exec rm -f {} \\;
Logs PurgeLogpurge log filesrm -fP /tmp/DebugLog.log;find /Library/Logs -name *.log -exec rm -fP {} \\;;find ~/Library/Logs -name *.log -exec rm -fP {} \\;
Lookupd LogLogread lookupd logcat /var/log/lookupd.log
Lookupd Log CleanLogclean lookupd logsudo rm -f /var/log/lookupd.log
Lookupd Log PurgeLogpurge lookupd logsudo rm -fP /var/log/lookupd.log
LPR LogLogread LPR (line printer) logcat /var/log/lpr.log
LPR Log CleanLogclean LPR (line printer) logsudo rm -f /var/log/lpr.log
LPR Log PurgeLogpurge LPR (line printer) logsudo rm -fP /var/log/lpr.log
Mail LogLogread mail logcat /var/log/mail.log
Mail Log CleanLogclean mail logsudo rm -f /var/log/mail.log
Mail Log PurgeLogpurge mail logsudo rm -fP /var/log/mail.log
monthly.outLogread monthly.out logcat /var/log/monthly.out
monthly.out CleanLogclean monthly.out logsudo rm -f /var/log/monthly.out
monthly.out PurgeLogpurge monthly.out logsudo rm -fP /var/log/monthly.out
NetInfo.logLogview NetInfo.logcat /var/log/NetInfo.log
NetInfo.log CleanLogclean NetInfo.logsudo rm -fr /var/log/NetInfo.log
NetInfo.log PurgeLogpurge NetInfo.logsudo rm -fPr /var/log/NetInfo.log
Panic LogLogread kernel panic logcat /Library/Logs/panic.log
Panic Log CleanLogclean kernel panic logsudo rm -f /Library/Logs/panic.log
Panic Log PurgeLogpurge kernel panic logsudo rm -fP /Library/Logs/panic.log
Periodics Clean AllLogclean daily.out weekly.out monthly.out logssudo rm -f /var/log/daily.out /var/log/monthly.out /var/log/weekly.out
Periodics Purge AllLogpurge daily.out weekly.out monthly.out logssudo rm -fP /var/log/daily.out /var/log/monthly.out /var/log/weekly.out
PPP Log CleanLogclean PPP (modem) logsudo rm -f /tmp/ppp.log
PPP Log PurgeLogpurge PPP (modem) logsudo rm -fP /tmp/ppp.log
PPP Log ReadLogread PPP (modem) logsudo cat /tmp/ppp.log
Samba NMDB LogLogread Samba NMDB logcat /var/log/samba/log.nmbd
Samba NMDB Log CleanLogclean Samba NMDB logsudo rm -f /var/log/samba/log.nmbd
Samba NMDB Log PurgeLogpurge Samba NMDB logsudo rm -fP /var/log/samba/log.nmbd
Samba SMDB LogLogread Samba SMDB logcat /var/log/samba/log.smbd
Samba SMDB Log CleanLogclean Samba SMDB logsudo rm -f /var/log/samba/log.smbd
Samba SMDB Log PurgeLogpurge Samba SMDB logsudo rm -fP /var/log/samba/log.smbd
Secure LogLogread secure.logsudo cat /var/log/secure.log
Secure Log CleanLogclean secure.logsudo rm -fr /var/log/secure.log
Secure Log PurgeLogpurge secure.logsudo rm -fPr /var/log/secure.log
syslog.confLogview syslog configuration filecat /etc/syslog.conf
System LogLogread system.logsudo cat /var/log/system.log
System Log CleanLogclean system.logsudo rm -fr /var/log/system.log
System Log PurgeLogpurge system.logsudo rm -fPr /var/log/system.log
weekly.outLogrread weekly.out logcat /var/log/weekly.out
weekly.out CleanLogclean weekly.out logsudo rm -f /var/log/weekly.out
weekly.out PurgeLogpurge weekly.out logsudo rm -fP /var/log/weekly.out
who wtmpLogshow system activity in wtmpwho /var/log/wtmp

Lproj

Chinese (CN) Lprojs /ApplicationsLprojlist all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj
Chinese (CN) Lprojs /Applications CleanLprojclean all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs /Applications PurgeLprojpurge all Chinese (CN) lproj files in /Applicationssudo find /Applications -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs /DeveloperLprojlist all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj
Chinese (CN) Lprojs /Developer CleanLprojclean all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs /Developer PurgeLprojpurge all Chinese (CN) lproj files in /Developersudo find /Developer -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs ~Lprojlist all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj
Chinese (CN) Lprojs ~ CleanLprojclean all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs ~ PurgeLprojpurge all Chinese (CN) lproj files in home areasudo find ~ -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (CN) Lprojs ~/ApplicationsLprojlist all Chinese (CN) lproj files in ~/Applicationssudo find ~/Applications -name zh_CN\.lproj
Chinese (CN) Lprojs ~/Applications CleanLprojclean all Chinese (CN) lproj files in ~/Applicationssudo find ~/Applications -name zh_CN\.lproj -exec rm -fr {} \;
Chinese (CN) Lprojs ~/Applications PurgeLprojpurge all Chinese (CN) lproj files in ~/Applicationssudo find ~/Applications -name zh_CN\.lproj -exec rm -fPr {} \;
Chinese (TW) Lprojs /ApplicationsLprojlist all Chinese (TW) lproj files in /Applicationssudo find /Applications -name zh_TW\.lproj
Chinese (TW) Lprojs /Applications CleanLprojclean all Chinese (TW) lproj files in /Applicationssudo find /Applications -name zh_TW\.lproj -exec rm -fr {} \;
Chinese (TW) Lprojs /Applications PurgeLprojpurge all Chinese (TW) lproj files in /Applicationssudo find /Applications -name zh_TW\.lproj -exec rm -fPr {} \;
Chinese (TW) Lprojs /DeveloperLprojlist all Chinese (TW) lproj files in /Developersudo find /Developer -name zh_TW\.lproj
Chinese (TW) Lprojs /Developer CleanLprojclean all Chinese (TW) lproj files in /Developersudo find /Developer -name zh_TW\.lproj -exec rm -fr {} \;
Chinese (TW) Lprojs /Developer PurgeLprojpurge all Chinese (TW) lproj files in /Developersudo find /Developer -name zh_TW\.lproj -exec rm -fPr {} \;
Chinese (TW) Lprojs ~Lprojlist all Chinese (TW) lproj files in home areasudo find ~ -name zh_TW\.lproj
Chinese (TW) Lprojs ~ CleanLprojclean all Chinese (TW) lproj files in home areasudo find ~ -name zh_TW\.lproj -exec rm -fr {} \;
Chinese (TW) Lprojs ~ PurgeLprojpurge all Chinese (TW) lproj files in home areasudo find ~ -name zh_TW\.lproj -exec rm -fPr {} \;
Chinese (TW) Lprojs ~/ApplicationsLprojlist all Chinese (TW) lproj files in ~/Applicationssudo find ~/Applications -name zh_TW\.lproj
Chinese (TW) Lprojs ~/Applications CleanLprojclean all Chinese (TW) lproj files in ~/Applicationssudo find ~/Applications -name zh_TW\.lproj -exec rm -fr {} \;
Chinese (TW) Lprojs ~/Applications PurgeLprojpurge all Chinese (TW) lproj files in ~/Applicationssudo find ~/Applications -name zh_TW\.lproj -exec rm -fPr {} \;
Danish Lprojs /ApplicationsLprojlist all Danish lproj files in /Applicationssudo find /Applications -name da\.lproj
Danish Lprojs /Applications CleanLprojclean all Danish lproj files in /Applicationssudo find /Applications -name da\.lproj -exec rm -fr {} \;
Danish Lprojs /Applications PurgeLprojpurge all Danish lproj files in /Applicationssudo find /Applications -name da\.lproj -exec rm -fPr {} \;
Danish Lprojs /DeveloperLprojlist all Danish lproj files in /Developersudo find /Developer -name da\.lproj
Danish Lprojs /Developer CleanLprojclean all Danish lproj files in /Developersudo find /Developer -name da\.lproj -exec rm -fr {} \;
Danish Lprojs /Developer PurgeLprojpurge all Danish lproj files in /Developersudo find /Developer -name da\.lproj -exec rm -fPr {} \;
Danish Lprojs ~Lprojlist all Danish lproj files in home areasudo find ~ -name da\.lproj
Danish Lprojs ~ CleanLprojclean all Danish lproj files in home areasudo find ~ -name da\.lproj -exec rm -fr {} \;
Danish Lprojs ~ PurgeLprojpurge all Danish lproj files in home areasudo find ~ -name da\.lproj -exec rm -fPr {} \;
Danish Lprojs ~/ApplicationsLprojlist all Danish lproj files in ~/Applicationssudo find ~/Applications -name da\.lproj
Danish Lprojs ~/Applications CleanLprojclean all Danish lproj files in ~/Applicationssudo find ~/Applications -name da\.lproj -exec rm -fr {} \;
Danish Lprojs ~/Applications PurgeLprojpurge all Danish lproj files in ~/Applicationssudo find ~/Applications -name da\.lproj -exec rm -fPr {} \;
Dutch Lprojs /ApplicationsLprojlist all Dutch lproj files in /Applicationssudo find /Applications -name Dutch\.lproj
Dutch Lprojs /Applications CleanLprojclean all Dutch lproj files in /Applicationssudo find /Applications -name Dutch\.lproj -exec rm -fr {} \;
Dutch Lprojs /Applications PurgeLprojpurge all Dutch lproj files in /Applicationssudo find /Applications -name Dutch\.lproj -exec rm -fPr {} \;
Dutch Lprojs /DeveloperLprojlist all Dutch lproj files in /Developersudo find /Developer -name Dutch\.lproj
Dutch Lprojs /Developer CleanLprojclean all Dutch lproj files in /Developersudo find /Developer -name Dutch\.lproj -exec rm -fr {} \;
Dutch Lprojs /Developer PurgeLprojpurge all Dutch lproj files in /Developersudo find /Developer -name Dutch\.lproj -exec rm -fPr {} \;
Dutch Lprojs ~Lprojlist all Dutch lproj files in home areasudo find ~ -name Dutch\.lproj
Dutch Lprojs ~ CleanLprojclean all Dutch lproj files in home areasudo find ~ -name Dutch\.lproj -exec rm -fr {} \;
Dutch Lprojs ~ PurgeLprojpurge all Dutch lproj files in home areasudo find ~ -name Dutch\.lproj -exec rm -fPr {} \;
Dutch Lprojs ~/ApplicationsLprojlist all Dutch lproj files in ~/Applicationssudo find ~/Applications -name Dutch\.lproj
Dutch Lprojs ~/Applications CleanLprojclean all Dutch lproj files in ~/Applicationssudo find ~/Applications -name Dutch\.lproj -exec rm -fr {} \;
Dutch Lprojs ~/Applications PurgeLprojpurge all Dutch lproj files in ~/Applicationssudo find ~/Applications -name Dutch\.lproj -exec rm -fPr {} \;
English Lprojs /ApplicationsLprojlist all English lproj files in /Applicationssudo find /Applications -name English\.lproj
English Lprojs /Applications CleanLprojclean all English lproj files in /Applicationssudo find /Applications -name English\.lproj -exec rm -fr {} \;
English Lprojs /Applications PurgeLprojpurge all English lproj files in /Applicationssudo find /Applications -name English\.lproj -exec rm -fPr {} \;
English Lprojs /DeveloperLprojlist all English lproj files in /Developersudo find /Developer -name English\.lproj
English Lprojs /Developer CleanLprojclean all English lproj files in /Developersudo find /Developer -name English\.lproj -exec rm -fr {} \;
English Lprojs /Developer PurgeLprojpurge all English lproj files in /Developersudo find /Developer -name English\.lproj -exec rm -fPr {} \;
English Lprojs ~Lprojlist all English lproj files in home areasudo find ~ -name English\.lproj
English Lprojs ~ CleanLprojclean all English lproj files in home areasudo find ~ -name English\.lproj -exec rm -fr {} \;
English Lprojs ~ PurgeLprojpurge all English lproj files in home areasudo find ~ -name English\.lproj -exec rm -fPr {} \;
English Lprojs ~/ApplicationsLprojlist all English lproj files in ~/Applicationssudo find ~/Applications -name English\.lproj
English Lprojs ~/Applications CleanLprojclean all English lproj files in ~/Applicationssudo find ~/Applications -name English\.lproj -exec rm -fr {} \;
English Lprojs ~/Applications PurgeLprojpurge all English lproj files in ~/Applicationssudo find ~/Applications -name English\.lproj -exec rm -fPr {} \;
Find Non-English Lprojs /Lprojfind all non-English lprojs in /sudo find / \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Find Non-English Lprojs /ApplicationsLprojfind all non-English lprojs in /Applicationssudo find /Applications \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Find Non-English Lprojs /DeveloperLprojfind all non-English lprojs in /Developersudo find /Developer \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Find Non-English Lprojs /LibraryLprojfind all non-English lprojs in /Librarysudo find /Library \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Find Non-English Lprojs /SystemLprojfind all non-English lprojs in /Systemsudo find /System \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Find Non-English Lprojs ~Lprojfind all non-English lprojs in home areasudo find ~ \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \)
Finnish Lprojs /ApplicationsLprojlist all Finnish lproj files in /Applicationssudo find /Applications -name fi\.lproj
Finnish Lprojs /Applications CleanLprojclean all Finnish lproj files in /Applicationssudo find /Applications -name fi\.lproj -exec rm -fr {} \;
Finnish Lprojs /Applications PurgeLprojpurge all Finnish lproj files in /Applicationssudo find /Applications -name fi\.lproj -exec rm -fPr {} \;
Finnish Lprojs /DeveloperLprojlist all Finnish lproj files in /Developersudo find /Developer -name fi\.lproj
Finnish Lprojs /Developer CleanLprojclean all Finnish lproj files in /Developersudo find /Developer -name fi\.lproj -exec rm -fr {} \;
Finnish Lprojs /Developer PurgeLprojpurge all Finnish lproj files in /Developersudo find /Developer -name fi\.lproj -exec rm -fPr {} \;
Finnish Lprojs ~Lprojlist all Finnish lproj files in home areasudo find ~ -name fi\.lproj
Finnish Lprojs ~ CleanLprojclean all Finnish lproj files in home areasudo find ~ -name fi\.lproj -exec rm -fr {} \;
Finnish Lprojs ~ PurgeLprojpurge all Finnish lproj files in home areasudo find ~ -name fi\.lproj -exec rm -fPr {} \;
Finnish Lprojs ~/ApplicationsLprojlist all Finnish lproj files in ~/Applicationssudo find ~/Applications -name fi\.lproj
Finnish Lprojs ~/Applications CleanLprojclean all Finnish lproj files in ~/Applicationssudo find ~/Applications -name fi\.lproj -exec rm -fr {} \;
Finnish Lprojs ~/Applications PurgeLprojpurge all Finnish lproj files in ~/Applicationssudo find ~/Applications -name fi\.lproj -exec rm -fPr {} \;
French Lprojs /ApplicationsLprojlist all French lproj files in /Applicationssudo find /Applications -name French\.lproj
French Lprojs /Applications CleanLprojclean all French lproj files in /Applicationssudo find /Applications -name French\.lproj -exec rm -fr {} \;
French Lprojs /Applications PurgeLprojpurge all French lproj files in /Applicationssudo find /Applications -name French\.lproj -exec rm -fPr {} \;
French Lprojs /DeveloperLprojlist all French lproj files in /Developersudo find /Developer -name French\.lproj
French Lprojs /Developer CleanLprojclean all French lproj files in /Developersudo find /Developer -name French\.lproj -exec rm -fr {} \;
French Lprojs /Developer PurgeLprojpurge all French lproj files in /Developersudo find /Developer -name French\.lproj -exec rm -fPr {} \;
French Lprojs ~Lprojlist all French lproj files in home areasudo find ~ -name French\.lproj
French Lprojs ~ CleanLprojclean all French lproj files in home areasudo find ~ -name French\.lproj -exec rm -fr {} \;
French Lprojs ~ PurgeLprojpurge all French lproj files in home areasudo find ~ -name French\.lproj -exec rm -fPr {} \;
French Lprojs ~/ApplicationsLprojlist all French lproj files in ~/Applicationssudo find ~/Applications -name French\.lproj
French Lprojs ~/Applications CleanLprojclean all French lproj files in ~/Applicationssudo find ~/Applications -name French\.lproj -exec rm -fr {} \;
French Lprojs ~/Applications PurgeLprojpurge all French lproj files in ~/Applicationssudo find ~/Applications -name French\.lproj -exec rm -fPr {} \;
German Lprojs /ApplicationsLprojlist all German lproj files in /Applicationssudo find /Applications -name German\.lproj
German Lprojs /Applications CleanLprojclean all German lproj files in /Applicationssudo find /Applications -name German\.lproj -exec rm -fr {} \;
German Lprojs /Applications PurgeLprojpurge all German lproj files in /Applicationssudo find /Applications -name German\.lproj -exec rm -fPr {} \;
German Lprojs /DeveloperLprojlist all German lproj files in /Developersudo find /Developer -name German\.lproj
German Lprojs /Developer CleanLprojclean all German lproj files in /Developersudo find /Developer -name German\.lproj -exec rm -fr {} \;
German Lprojs /Developer PurgeLprojpurge all German lproj files in /Developersudo find /Developer -name German\.lproj -exec rm -fPr {} \;
German Lprojs ~Lprojlist all German lproj files in home areasudo find ~ -name German\.lproj
German Lprojs ~ CleanLprojclean all German lproj files in home areasudo find ~ -name German\.lproj -exec rm -fr {} \;
German Lprojs ~ PurgeLprojpurge all German lproj files in home areasudo find ~ -name German\.lproj -exec rm -fPr {} \;
German Lprojs ~/ApplicationsLprojlist all German lproj files in ~/Applicationssudo find ~/Applications -name German\.lproj
German Lprojs ~/Applications CleanLprojclean all German lproj files in ~/Applicationssudo find ~/Applications -name German\.lproj -exec rm -fr {} \;
German Lprojs ~/Applications PurgeLprojpurge all German lproj files in ~/Applicationssudo find ~/Applications -name German\.lproj -exec rm -fPr {} \;
Italian Lprojs /ApplicationsLprojlist all Italian lproj files in /Applicationssudo find /Applications -name Italian\.lproj
Italian Lprojs /Applications CleanLprojclean all Italian lproj files in /Applicationssudo find /Applications -name Italian\.lproj -exec rm -fr {} \;
Italian Lprojs /Applications PurgeLprojpurge all Italian lproj files in /Applicationssudo find /Applications -name Italian\.lproj -exec rm -fPr {} \;
Italian Lprojs /DeveloperLprojlist all Italian lproj files in /Developersudo find /Developer -name Italian\.lproj
Italian Lprojs /Developer CleanLprojclean all Italian lproj files in /Developersudo find /Developer -name Italian\.lproj -exec rm -fr {} \;
Italian Lprojs /Developer PurgeLprojpurge all Italian lproj files in /Developersudo find /Developer -name Italian\.lproj -exec rm -fPr {} \;
Italian Lprojs ~Lprojlist all Italian lproj files in home areasudo find ~ -name Italian\.lproj
Italian Lprojs ~ CleanLprojclean all Italian lproj files in home areasudo find ~ -name Italian\.lproj -exec rm -fr {} \;
Italian Lprojs ~ PurgeLprojpurge all Italian lproj files in home areasudo find ~ -name Italian\.lproj -exec rm -fPr {} \;
Italian Lprojs ~/ApplicationsLprojlist all Italian lproj files in ~/Applicationssudo find ~/Applications -name Italian\.lproj
Italian Lprojs ~/Applications CleanLprojclean all Italian lproj files in ~/Applicationssudo find ~/Applications -name Italian\.lproj -exec rm -fr {} \;
Italian Lprojs ~/Applications PurgeLprojpurge all Italian lproj files in ~/Applicationssudo find ~/Applications -name Italian\.lproj -exec rm -fPr {} \;
Japanese Lprojs /ApplicationsLprojlist all Japanese lproj files in /Applicationssudo find /Applications -name Japanese\.lproj
Japanese Lprojs /Applications CleanLprojclean all Japanese lproj files in /Applicationssudo find /Applications -name Japanese\.lproj -exec rm -fr {} \;
Japanese Lprojs /Applications PurgeLprojpurge all Japanese lproj files in /Applicationssudo find /Applications -name Japanese\.lproj -exec rm -fPr {} \;
Japanese Lprojs /DeveloperLprojlist all Japanese lproj files in /Developersudo find /Developer -name Japanese\.lproj
Japanese Lprojs /Developer CleanLprojclean all Japanese lproj files in /Developersudo find /Developer -name Japanese\.lproj -exec rm -fr {} \;
Japanese Lprojs /Developer PurgeLprojpurge all Japanese lproj files in /Developersudo find /Developer -name Japanese\.lproj -exec rm -fPr {} \;
Japanese Lprojs ~Lprojlist all Japanese lproj files in home areasudo find ~ -name Japanese\.lproj
Japanese Lprojs ~ CleanLprojclean all Japanese lproj files in home areasudo find ~ -name Japanese\.lproj -exec rm -fr {} \;
Japanese Lprojs ~ PurgeLprojpurge all Japanese lproj files in home areasudo find ~ -name Japanese\.lproj -exec rm -fPr {} \;
Japanese Lprojs ~/ApplicationsLprojlist all Japanese lproj files in ~/Applicationssudo find ~/Applications -name Japanese\.lproj
Japanese Lprojs ~/Applications CleanLprojclean all Japanese lproj files in ~/Applicationssudo find ~/Applications -name Japanese\.lproj -exec rm -fr {} \;
Japanese Lprojs ~/Applications PurgeLprojpurge all Japanese lproj files in ~/Applicationssudo find ~/Applications -name Japanese\.lproj -exec rm -fPr {} \;
Korean Lprojs /ApplicationsLprojlist all Korean lproj files in /Applicationssudo find /Applications -name ko\.lproj
Korean Lprojs /Applications CleanLprojclean all Korean lproj files in /Applicationssudo find /Applications -name ko\.lproj -exec rm -fr {} \;
Korean Lprojs /Applications PurgeLprojpurge all Korean lproj files in /Applicationssudo find /Applications -name ko\.lproj -exec rm -fPr {} \;
Korean Lprojs /DeveloperLprojlist all Korean lproj files in /Developersudo find /Developer -name ko\.lproj
Korean Lprojs /Developer CleanLprojclean all Korean lproj files in /Developersudo find /Developer -name ko\.lproj -exec rm -fr {} \;
Korean Lprojs /Developer PurgeLprojpurge all Korean lproj files in /Developersudo find /Developer -name ko\.lproj -exec rm -fPr {} \;
Korean Lprojs ~Lprojlist all Korean lproj files in home areasudo find ~ -name ko\.lproj
Korean Lprojs ~ CleanLprojclean all Korean lproj files in home areasudo find ~ -name ko\.lproj -exec rm -fr {} \;
Korean Lprojs ~ PurgeLprojpurge all Korean lproj files in home areasudo find ~ -name ko\.lproj -exec rm -fPr {} \;
Korean Lprojs ~/ApplicationsLprojlist all Korean lproj files in ~/Applicationssudo find ~/Applications -name ko\.lproj
Korean Lprojs ~/Applications CleanLprojclean all Korean lproj files in ~/Applicationssudo find ~/Applications -name ko\.lproj -exec rm -fr {} \;
Korean Lprojs ~/Applications PurgeLprojpurge all Korean lproj files in ~/Applicationssudo find ~/Applications -name ko\.lproj -exec rm -fPr {} \;
Norwegian Lprojs /ApplicationsLprojlist all Norwegian lproj files in /Applicationssudo find /Applications -name no\.lproj
Norwegian Lprojs /Applications CleanLprojclean all Norwegian lproj files in /Applicationssudo find /Applications -name no\.lproj -exec rm -fr {} \;
Norwegian Lprojs /Applications PurgeLprojpurge all Norwegian lproj files in /Applicationssudo find /Applications -name no\.lproj -exec rm -fPr {} \;
Norwegian Lprojs /DeveloperLprojlist all Norwegian lproj files in /Developersudo find /Developer -name no\.lproj
Norwegian Lprojs /Developer CleanLprojclean all Norwegian lproj files in /Developersudo find /Developer -name no\.lproj -exec rm -fr {} \;
Norwegian Lprojs /Developer PurgeLprojpurge all Norwegian lproj files in /Developersudo find /Developer -name no\.lproj -exec rm -fPr {} \;
Norwegian Lprojs ~Lprojlist all Norwegian lproj files in home areasudo find ~ -name no\.lproj
Norwegian Lprojs ~ CleanLprojclean all Norwegian lproj files in home areasudo find ~ -name no\.lproj -exec rm -fr {} \;
Norwegian Lprojs ~ PurgeLprojpurge all Norwegian lproj files in home areasudo find ~ -name no\.lproj -exec rm -fPr {} \;
Norwegian Lprojs ~/ApplicationsLprojlist all Norwegian lproj files in ~/Applicationssudo find ~/Applications -name no\.lproj
Norwegian Lprojs ~/Applications CleanLprojclean all Norwegian lproj files in ~/Applicationssudo find ~/Applications -name no\.lproj -exec rm -fr {} \;
Norwegian Lprojs ~/Applications PurgeLprojpurge all Norwegian lproj files in ~/Applicationssudo find ~/Applications -name no\.lproj -exec rm -fPr {} \;
Portugese Lprojs /ApplicationsLprojlist all Portugese lproj files in /Applicationssudo find /Applications -name pt\.lproj
Portugese Lprojs /Applications CleanLprojclean all Portugese lproj files in /Applicationssudo find /Applications -name pt\.lproj -exec rm -fr {} \;
Portugese Lprojs /Applications PurgeLprojpurge all Portugese lproj files in /Applicationssudo find /Applications -name pt\.lproj -exec rm -fPr {} \;
Portugese Lprojs /DeveloperLprojlist all Portugese lproj files in /Developersudo find /Developer -name pt\.lproj
Portugese Lprojs /Developer CleanLprojclean all Portugese lproj files in /Developersudo find /Developer -name pt\.lproj -exec rm -fr {} \;
Portugese Lprojs /Developer PurgeLprojpurge all Portugese lproj files in /Developersudo find /Developer -name pt\.lproj -exec rm -fPr {} \;
Portugese Lprojs ~Lprojlist all Portugese lproj files in home areasudo find ~ -name pt\.lproj
Portugese Lprojs ~ CleanLprojclean all Portugese lproj files in home areasudo find ~ -name pt\.lproj -exec rm -fr {} \;
Portugese Lprojs ~ PurgeLprojpurge all Portugese lproj files in home areasudo find ~ -name pt\.lproj -exec rm -fPr {} \;
Portugese Lprojs ~/ApplicationsLprojlist all Portugese lproj files in ~/Applicationssudo find ~/Applications -name pt\.lproj
Portugese Lprojs ~/Applications CleanLprojclean all Portugese lproj files in ~/Applicationssudo find ~/Applications -name pt\.lproj -exec rm -fr {} \;
Portugese Lprojs ~/Applications PurgeLprojpurge all Portugese lproj files in ~/Applicationssudo find ~/Applications -name pt\.lproj -exec rm -fPr {} \;
Remove Non-English Lprojs /Lprojremove all non-English language project files in / (careful!)sudo find / \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Remove Non-English Lprojs /ApplicationsLprojremove all non-English language project files in /Applications (careful!)sudo find /Applications \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Remove Non-English Lprojs /DeveloperLprojremove all non-English language project files in /Developer (careful!)sudo find /Developer \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Remove Non-English Lprojs /LibraryLprojremove all non-English language project files in /Library (careful!)sudo find /Library \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Remove Non-English Lprojs /SystemLprojremove all non-English language project files in /System (careful!)sudo find /System \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Remove Non-English Lprojs ~Lprojremove all non-English language project files in home area (careful!)sudo find ~ \( -name *.lproj -and \! \( -name English.lproj -or -name en.lproj -or -name en_AU.lproj -or -name en_CA.lproj -or -name en_GB.lproj \) \) -exec rm -rf {} \;
Spanish Lprojs /ApplicationsLprojlist all Spanish lproj files in /Applicationssudo find /Applications -name Spanish\.lproj
Spanish Lprojs /Applications CleanLprojclean all Spanish lproj files in /Applicationssudo find /Applications -name Spanish\.lproj -exec rm -fr {} \;
Spanish Lprojs /Applications PurgeLprojpurge all Spanish lproj files in /Applicationssudo find /Applications -name Spanish\.lproj -exec rm -fPr {} \;
Spanish Lprojs /DeveloperLprojlist all Spanish lproj files in /Developersudo find /Developer -name Spanish\.lproj
Spanish Lprojs /Developer CleanLprojclean all Spanish lproj files in /Developersudo find /Developer -name Spanish\.lproj -exec rm -fr {} \;
Spanish Lprojs /Developer PurgeLprojpurge all Spanish lproj files in /Developersudo find /Developer -name Spanish\.lproj -exec rm -fPr {} \;
Spanish Lprojs ~Lprojlist all Spanish lproj files in home areasudo find ~ -name Spanish\.lproj
Spanish Lprojs ~ CleanLprojclean all Spanish lproj files in home areasudo find ~ -name Spanish\.lproj -exec rm -fr {} \;
Spanish Lprojs ~ PurgeLprojpurge all Spanish lproj files in home areasudo find ~ -name Spanish\.lproj -exec rm -fPr {} \;
Spanish Lprojs ~/ApplicationsLprojlist all Spanish lproj files in ~/Applicationssudo find ~/Applications -name Spanish\.lproj
Spanish Lprojs ~/Applications CleanLprojclean all Spanish lproj files in ~/Applicationssudo find ~/Applications -name Spanish\.lproj -exec rm -fr {} \;
Spanish Lprojs ~/Applications PurgeLprojpurge all Spanish lproj files in ~/Applicationssudo find ~/Applications -name Spanish\.lproj -exec rm -fPr {} \;
Swedish Lprojs /ApplicationsLprojlist all Swedish lproj files in /Applicationssudo find /Applications -name sv\.lproj
Swedish Lprojs /Applications CleanLprojclean all Swedish lproj files in /Applicationssudo find /Applications -name sv\.lproj -exec rm -fr {} \;
Swedish Lprojs /Applications PurgeLprojpurge all Swedish lproj files in /Applicationssudo find /Applications -name sv\.lproj -exec rm -fPr {} \;
Swedish Lprojs /DeveloperLprojlist all Swedish lproj files in /Developersudo find /Developer -name sv\.lproj
Swedish Lprojs /Developer CleanLprojclean all Swedish lproj files in /Developersudo find /Developer -name sv\.lproj -exec rm -fr {} \;
Swedish Lprojs /Developer PurgeLprojpurge all Swedish lproj files in /Developersudo find /Developer -name sv\.lproj -exec rm -fPr {} \;
Swedish Lprojs ~Lprojlist all Swedish lproj files in home areasudo find ~ -name sv\.lproj
Swedish Lprojs ~ CleanLprojclean all Swedish lproj files in home areasudo find ~ -name sv\.lproj -exec rm -fr {} \;
Swedish Lprojs ~ PurgeLprojpurge all Swedish lproj files in home areasudo find ~ -name sv\.lproj -exec rm -fPr {} \;
Swedish Lprojs ~/ApplicationsLprojlist all Swedish lproj files in ~/Applicationssudo find ~/Applications -name sv\.lproj
Swedish Lprojs ~/Applications CleanLprojclean all Swedish lproj files in ~/Applicationssudo find ~/Applications -name sv\.lproj -exec rm -fr {} \;
Swedish Lprojs ~/Applications PurgeLprojpurge all Swedish lproj files in ~/Applicationssudo find ~/Applications -name sv\.lproj -exec rm -fPr {} \;

Misc

AirportMiscshow airport code or airport (NA only)cat /usr/share/misc/airport | grep YVR
ASCIIMiscshow octal hexadecimal decimal ASCII tablescat /usr/share/misc/ascii
Birth TokenMiscshow birth flower and birth stone for birth monthcat /usr/share/misc/birthtoken | grep January
BirthdaysCalendarshow birthdays of famous peoplecat /usr/share/calendar/calendar.birthday | grep 01/01
Boot Block DataMiscshow boot block datahexdump -Cv /usr/share/misc/bootblockdata
CD Boot DataMiscshow CD boot datahexdump -Cv /usr/share/misc/cdbootdata
ComputerCalendarshow computer milestonescat /usr/share/calendar/calendar.computer | grep 01/01
ConnectivesDictshow connectivescat /usr/share/dict/connectives | grep the
Current DayMiscshow current month daydate "+%d"
Current MonthMiscshow current month numberdate "+%m"
Emacs 21.1 GameZMiscshow Emacs 21.1 gamesls /usr/share/emacs/21.1/lisp/play/*.el | sed s/\.el// | sed s/"\/usr\/share\/emacs\/21\.1\/lisp\/play\/"//
Emacs 21.2 GameZMiscshow Emacs 21.2 gamesls /usr/share/emacs/21.2/lisp/play/*.el | sed s/\.el// | sed s/"\/usr\/share\/emacs\/21\.2\/lisp\/play\/"//
FlowersMiscshow meaning of flowercat /usr/share/misc/flowers | grep -i forget-me-not
Getopt FragmentMiscshow skeleton code for getopt(3)cat /usr/share/misc/getopt
HistoryCalendarshow historical eventscat /usr/share/calendar/calendar.history | grep 01/01
Holiday IntlCalendarshow international holidayscat /usr/share/calendar/calendar.holiday | grep 01/01
Holiday USCalendarshow US holidays (short file)cat /usr/share/calendar/calendar.usholiday | grep 01/01
Inter Phone IMiscshow country and city codescat /usr/share/misc/inter.phone | grep 46:8
Inter Phone IIMiscshow country and city codescat /usr/share/misc/inter.phone | grep Hong\ Kong
LOTRCalendarshow famous dates in Lord of the Ringscat /usr/share/calendar/calendar.history | grep LOTR
Mail.helpMiscshow mail helpcat /usr/share/misc/mail.help
Man.templateMiscshow manpage templatecat /usr/share/misc/man.template
Mdoc.templateMiscshow mdoc.templatecat /usr/share/misc/mdoc.template
More.helpMiscshow more helpcat /usr/share/misc/more.help
MusicCalendarshow milestones in musiccat /usr/share/calendar/calendar.music | grep 01/01
NA Phone IMiscshow NA area codecat /usr/share/misc/na.phone | grep 201
NA Phone IIMiscshow NA area codecat /usr/share/misc/na.phone | grep -i Ashbury\ Park
Nslookup.helpMiscshow nslookup helpcat /usr/share/misc/nslookup.help
Proper NamesDictshow proper namescat /usr/share/dict/propernames | grep Amanda
UnitsMisccompare units of measurementunits metres inches
Units.libMiscshow measure units and prefixescat /usr/share/misc/units.lib
Web2Dictlook up a word (currently 234937 entries)cat /usr/share/dict/web2 | grep zygostyle
Web2aDictlook up a hyphenated noun or adverbial phrase (currently 76205 entries)cat /usr/share/dict/web2a | grep zwitter\ ion
YowMiscshow smart-arse Zippy quote (adjust path for your own system)/usr/libexec/emacs/21.1/powerpc-apple-darwin6.0/yow
ZipMisclook up city or zip (US only)cat /usr/share/misc/zipcodes | grep 00401

Network

.DS_Stores OffNetworkturn off writing of .DS_Stores on network connectionsdefaults write com.apple.desktopservices DSDontWriteNetworkStores -bool YES
.DS_Stores OnNetworkturn on writing of .DS_Stores on network connectionsdefaults delete com.apple.desktopservices DSDontWriteNetworkStores
Addr AddressNetworkshow info on dotted quad network addressaddr -4 -p127.0.0.1
Addr HexstringNetworkshow info on network (hex) addressaddr -4 -n7f000001
AFP Over TCPNetworkshow configuration for AFP over TCPcat /etc/afpovertcp.cfg
All About MeNetworkshow info on current connectioncurl -s http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl
Apache StartApachestart Apachesudo apachectl start
Apache StopApachestop Apachesudo apachectl stop
AppleTalk HostnameNetworkshow AppleTalk hostnamegrep APPLETALK_HOSTNAME /etc/hostconfig | cut -d '=' -f 2
AppleTalk StatusNetworkshow AppleTalk statusatstatus
ArpNetworkshow current ARP entriesarp -a -n
Config TestApacherun Apache config file syntax testsudo apachectl configtest
ConfigurationApacheview Apache configurationcat /etc/httpd/httpd.conf
Curl AppleNetworkcurl Apple front pagecurl -s www.apple.com
Curl RixstepNetworkcurl Rixstep front pagecurl -s rixstep.com
Current IPNetworkget current IPcurl checkip.dyndns.org
Current IP (II)Networkshow current IPcurl showmyip.com | grep 'Internet Connection'
Current IP (III)Networkshow current IPcurl showmyip.com | grep 'Internet Connection' | awk '{print $8}'
Current IP (IV)Networkshow current IPcurl -s http://ipid.shat.net/iponly/ | grep body | sed s/"<body>"//g | sed s/"<\/body>"//g
Current IP Output OnlyNetworkget current IP and show only response outputcurl --stderr /dev/null checkip.dyndns.org
Current IP VerboseNetworkget current IP and connection statscurl -v checkip.dyndns.org
Current IP+ (V)Networkshow current IP in browser (along with agent referer languages accepts connection & port)open http://ipid.shat.net/
Default ConfigurationApacheview default Apache configurationcat /etc/httpd/httpd.conf.default
Default MagicApacheview default Apache magic datacat /etc/httpd/magic.default
DHS Threat AdvisoryNetworkshow current DHS threat advisory conditioncurl -s http://www.dhs.gov/dhspublic/getAdvisoryCondition | grep CONDITION
DNS Server DomainNetworkshow DNS server domaincat /etc/resolv.conf | grep domain | awk '{print $2}'
DNS ServersNetworkshow DNS serversecho DNS servers;echo -----------;cat /etc/resolv.conf | grep nameserver | awk '{print $2}'
Edit ConfigApacheedit Apache configuration filesudo pico /etc/httpd/httpd.conf
Edit Config FileApacheedit Apache configuration filesudo pico /etc/httpd/httpd.conf
Firewall ConfigNetworkshow firewall configurationopen /Library/Preferences/com.apple.sharing.firewall.plist
Full StatusApacheshow full Apache status reportsudo apachectl fullstatus
GatewayNetworkshow gateway IP</td><td class=c>echo -n 'Gateway: ';netstat -nr | grep default | awk '{print $2}'
Gateway & PublicNetworkshow gateway and public IPsecho -n 'Gateway: ';netstat -rn | grep default | awk '{print $2}';echo -n ' Public: ' ;curl -s http://checkip.dyndns.org | awk '{print $6}' | awk 'BEGIN {FS = "<"} {print $1}'
GracefulApachegracefully restart Apachesudo apachectl graceful
HostNetworkshow domain name or IP infohost -adv 17.0.0.0
Ifconfig AllNetworkshow all network interface paramsifconfig
Ifconfig en0Networkshow en0 network interface paramsifconfig en0
Ifconfig en0Networkshow network interface for en0ifconfig en0 | head -3 | grep 'inet ' | cut -d' ' -f 2
Ifconfig en1Networkshow network interface for en1ifconfig en1 | head -3 | grep 'inet ' | cut -d' ' -f 2
Ifconfig gif0Networkshow gif0 network interface paramsifconfig gif0
Ifconfig lo0Networkshow lo0 network interface paramsifconfig lo0
Ifconfig ppp0Networkshow ppp0 network interface paramsifconfig ppp0
Ifconfig ppp0Networkshow network interface for ppp0ifconfig ppp0 | head -3 | grep 'inet ' | cut -d' ' -f 2
Ifconfig stf0Networkshow stf0 network interface paramsifconfig stf0
IPFW RulesNetworkshow firewall rulessudo ipfw show
Keep IdleNetworkset network keep idle time (in seconds - example uses four minutes)sudo sysctl -w net.inet.tcp.keepidle=4800
Lookupd Flush CacheNetworkflush lookupd cachelookupd -flushcache
Lookupd Query BootpNetworkshow lookupd bootp datalookupd -q bootp
Lookupd Query BootparamNetworkshow lookupd bootparam datalookupd -q bootparam
Lookupd Query GroupNetworkshow lookupd group datalookupd -q group
Lookupd Query HostNetworkshow lookupd host datalookupd -q host
Lookupd Query MountNetworkshow lookupd mount datalookupd -q mount
Lookupd Query NetgroupNetworkshow lookupd netgroup datalookupd -q netgroup
Lookupd Query NetworkNetworkshow lookupd network datalookupd -q network
Lookupd Query PrinterNetworkshow lookupd printer datalookupd -q printer
Lookupd Query ProtocolNetworkshow lookupd protocol datalookupd -q protocol
Lookupd Query RPCNetworkshow lookupd RPC datalookupd -q rpc
Lookupd Query ServiceNetworkshow lookupd service datalookupd -q service
Lookupd Query UserNetworkshow lookupd user datalookupd -q user
Lookupd StatisticsNetworkshow lookupd statisticslookupd -statistics
MagicApacheview Apache magic datacat /etc/httpd/magic
Net Mask InfoNetworkshow net mask infoifconfig | grep mask | sed s/" "//
Net Mask IPsNetworkshow net mask IPsifconfig | grep inet | grep -v inet6 | awk '{print $2}'
Net MasksNetworkshow net masksifconfig | grep mask | awk '{print $4}'
NetstatNetstatshow network statusnetstat
Netstat ActivityNetstatshow network I/O in realtime (stop manually)netstat -i 1
Netstat Bytes I/ONetstatshow number of bytes in and outnetstat -bi
Netstat CloneNetstatshow protocol cloned routesnetstat -ar
Netstat Clone StatisticsNetstatshow protocol cloned routing statisticsnetstat -ars
Netstat Clone Statistics WideNetstatshow protocol cloned routing statistics (wide format)netstat -alrs
Netstat Clone WideNetstatshow protocol cloned routes (wide format)netstat -alr
Netstat DroppedNetstatshow number of dropped packetsnetstat -di
Netstat InternetNetstatshow active Internet connectionsnetstat -f inet
Netstat Internet IPNetstatshow active Internet connections with IP addressesnetstat -f inet -n
Netstat Internet IP PCBNetstatshow active Internet connections with IP addresses and socket PCBsnetstat -Af inet -n
Netstat Internet PCBNetstatshow active Internet connections with socket PCBsnetstat -Af inet
Netstat ListenNetstatshow sizes of listen queuesnetstat -L
Netstat MemoryNetstatshow statistics recorded by memory management routinesnetstat -m
Netstat MulticastNetstatshow info related to multicast routingnetstat -g
Netstat Multicast StatisticsNetstatshow multicast routing statisticsnetstat -gs
Netstat PCBNetstatshow network status with socket PCBsnetstat -A
Netstat ProtocolsNetstatshow network status per protocolnetstat -s
Netstat RoutingNetstatshow routing tablesnetstat -r
Netstat Routing StatisticsNetstatshow routing statisticsnetstat -rs
Netstat Routing WideNetstatshow routing tables (wide version)netstat -lr
Netstat StatisticsNetstatshow per protocol statisticsnetstat -s
Netstat Statistics No ZerosNetstatshow per protocol statistics with no zero countersnetstat -ss
Netstat TCP StatisticsNetstatshow TCP statisticsnetstat -ptcp
Netstat UDP StatisticsNetstatshow UDP statisticsnetstat -pudp
Netstat UnixNetstatshow active Unix connectionsnetstat -f unix
NFS StatusNetworkshow NFS statusnfsstat
nslookup AllNetworkshow all info on target domainnslookup -d apple.com
nslookup All GeekToolsNetworkshow all info on target domain through GeekToolsnslookup -d apple.com whois.geektools.com
nslookup CNAMENetworkshow canonical name for target domainnslookup -query=cname apple.com
nslookup HINFONetworkshow host info for target domainnslookup -query=hinfo apple.com
Open QuotesNetworkopen Rixstep quotes page in the default browseropen http://rixstep.com/0/quotes.html
Open Rixstep Industry WatchNetworkopen Rixstep Industry Watch in the default browseropen http://rixstep.com/1/
Open Rixstep Learning CurveNetworkopen Rixstep Learning Curve in the default browseropen http://rixstep.com/2/
Open URLNetworkopen a URL in the default browseropen http://rixstep.com
Open URLsNetworkopen a series of URLs in the default browseropen http://rixstep.com/0/ http://rixstep.com/1/ http://rixstep.com/2/ http://rixstep.com/3/ http://rixstep.com/4/
Persistent OthersDockshow persistent others on dockdefaults read com.apple.dock persistent-others
Ping Root-ServersNetworkping root-servers to determine network connectivityping -c1 a.root-servers.net;ping -c1 b.root-servers.net;ping -c1 c.root-servers.net;ping -c1 d.root-servers.net;ping -c1 e.root-servers.net;ping -c1 f.root-servers.net;ping -c1 h.root-servers.net;ping -c1 i.root-servers.net;ping -c1 j.root-servers.net;ping -c1 k.root-servers.net;ping -c1 l.root-servers.net;ping -c1 m.root-servers.net
Private IPNetworkshow private IPifconfig en0 | head -3 | grep 'inet ' | cut -d' ' -f 2
PublicNetworkshow public IPecho -n ' Public: ' ;curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN {FS = "<"} {print $1}'
RestartApacherestart Apachesudo apachectl restart
Restart ApacheApacherestarts Apache serversudo apachectl graceful
Root ServersNetworkshow DNS root serverscat /var/named/named.ca | grep -v '^\.' | grep -v ';'
Route FlushNetworkremove all routes (be careful)route flush
Route Flush AppleTalkNetworkremove all AppleTalk routes (be careful)route flush -atalk
Route Flush InetNetworkremove all Inet routes (be careful)route flush -inet
Route Flush Inet6Networkremove all Inet6 routes (be careful)route flush -inet6
Route Flush OSINetworkremove all OSI routes (be careful)route flush -osi
Route Flush XNSNetworkremove all XNS routes (be careful)route flush -xns
Route GetNetworkget routing tables for a destination (localhost used as an example)route get localhost
Samba StatusNetworkshow current Samba connectionssmbstatus -d
StartApachestart Apachesudo apachectl start
StatusApacheshow Apache status reportsudo apachectl status
StopApachestop Apachesudo apachectl stop
Tile SizeDockshow tile sizedefaults read com.apple.dock tilesize
Tor DetectorNetworkshow if Tor is activecurl -s http://serifos.eecs.harvard.edu/cgi-bin/ipaddr.pl?tor=1 | grep 'using Tor'
Trash Full OffDockset trash to emptydefaults write com.apple.dock trash-full -bool NO;killall Dock
Trash Full OnDockset trash to fulldefaults write com.apple.dock trash-full -bool YES;killall Dock
Trash Full ReadDockshow trash full statusdefaults read com.apple.dock trash-full
UsersApacheview configuration for Apache userscat /etc/httpd/users/*
Whois ARINNetworkshow whois info on IPwhois -h whois.arin.net 17.0.0.0
Whois GeekToolsNetworkshow whois info on domain or IPwhois -h whois.geektools.com 17.0.0.0

Objdump

Objdump AllObjdumpshow all info in object file/usr/libexec/binutils/objdump -x /bin/ls
Objdump Archive HeadersObjdumpshow archive headers in object file/usr/libexec/binutils/objdump -a /bin/ls
Objdump DebuggingObjdumpshow debugging info in object file/usr/libexec/binutils/objdump -g /bin/ls
Objdump DisassembleObjdumpshow disassembly (executable sections) of object file/usr/libexec/binutils/objdump -d /bin/ls
Objdump Disassemble AllObjdumpshow complete disassembly (all sections) of object file/usr/libexec/binutils/objdump -D /bin/ls
Objdump File HeadersObjdumpshow file headers in object file/usr/libexec/binutils/objdump -f /bin/ls
Objdump Full ContentsObjdumpshow full contents of all requested sections in object file/usr/libexec/binutils/objdump -s /bin/ls
Objdump InfoObjdumpshow supported architectures and object formats/usr/libexec/binutils/objdump -i
Objdump Private HeadersObjdumpshow private headers in object file/usr/libexec/binutils/objdump -p /bin/ls
Objdump RelocObjdumpshow relocation entries in object file/usr/libexec/binutils/objdump -r /bin/ls
Objdump Reloc DynamicObjdumpshow dynamic relocation entries in object file/usr/libexec/binutils/objdump -R /bin/ls
Objdump Section HeadersObjdumpshow contents of section headers in object file/usr/libexec/binutils/objdump -h /bin/ls
Objdump SourceObjdumpshow source with disassembly of object file/usr/libexec/binutils/objdump -S /bin/ls
Objdump STABSObjdumpshow STABS info in object file/usr/libexec/binutils/objdump -G /bin/ls
Objdump SymsObjdumpshow symbol tables in object file/usr/libexec/binutils/objdump -t /bin/ls
Objdump Syms DynamicObjdumpshow dynamic symbol tables in object file/usr/libexec/binutils/objdump -T /bin/ls
Objdump SyntaxObjdumpshow objdump syntax/usr/libexec/binutils/objdump
Objdump VersionObjdumpshow version info/usr/libexec/binutils/objdump -v /bin/ls

Open

Open AppKiDoOpenopen AppKiDoopen -a AppKiDo
Open authorizationOpenopen /etc/authorization (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /etc/authorization
Open bashrcOpenopen /etc/bashrc (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /etc/bashrc
Open CalculatorOpenopen Calculatoropen -a Calculator
Open CaminoOpenopen Caminoopen -a Camino
Open console.logOpenopen /var/tmp/console.log (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /var/tmp/console.log
Open crontabOpenopen /etc/crontab (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /etc/crontab
Open hostconfigOpenopen /etc/hostconfig (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /etc/hostconfig
Open iChatOpenopen iChatopen -a iChat
Open Internet ConnectOpenopen Internet Connectopen -a Internet\ Connect
Open iTunesOpenopen iTunesopen -a iTunes
Open Lots of LogsOpenopen all logs on system (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /var/log/*.log /var/tmp/console.log;find /Library/Logs -name *\.log -exec open -a Rixedit {} \;;find ~/Library/Logs -name *\.log -exec open -a Rixedit {} \;;
Open MailOpenopen Mailopen -a Mail
Open ManOpenOpenopen ManOpenopen -a ManOpen
Open NetInfo ManagerOpenopen NetInfo Manageropen -a NetInfo\ Manager
Open Preferences AllOpenopen all preferences files on system 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /Library/Preferences/*.plist;open -a Rixedit ~/Library/Preferences/*.plist
Open Preferences RootOpenopen all preferences files in root (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /Library/Preferences/*.plist
Open Preferences UserOpenopen all user's preferences files (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit ~/Library/Preferences/*.plist
Open PreviewOpenopen Previewopen -a Preview
Open QuickTime PlayerOpenopen QuickTime Playeropen -a QuickTime\ Player
Open SafariOpenopen Safariopen -a Safari
Open Safari List of TopicsOpenOpen Safari Help's List of Topicsopen /Applications/Safari.app/Contents/Resources/SafariHelp/pgs2/lotsaf.html
Open Safari List of Topics IIOpenOpen Safari Help's List of Topics (as URL)open file://localhost/Applications/Safari.app/Contents/Resources/SafariHelp/pgs2/lotsaf.html
Open System PreferencesOpenopen System Preferencesopen -a System\ Preferences
Open TerminalOpenopen Terminalopen -a Terminal
Open ttysOpenopen /etc/ttys (substitute 'TextEdit' for 'Rixedit' for non-ACP use)open -a Rixedit /etc/ttys

Opener

Disk Used SpaceSystemshow disk used space as percentdf / | tail -n 1 | awk '{print $5}'
Disk Used Space IISystemshow disk used space as percent (but without percent sign)space=`df / | tail -n 1 | awk '{print $5}'`;echo "${space%\%*}"
Firewall DisableNetworkdisable firewalldefaults write /Library/Preferences/com.apple.sharing.firewall state -bool NO
Firewall EnableNetworkenable firewalldefaults write /Library/Preferences/com.apple.sharing.firewall state -bool YES
Firewall StatusNetworkshow firewall statusdefaults read /Library/Preferences/com.apple.sharing.firewall state
MAC AddressSystemshow MAC addressifconfig en0 | grep ether | awk '{print $2}'
Open Firmware PasswordSystemshow Open Firmware passwordnvram -p | grep password | awk '{print $2}' | sed s/\%/'\\\x'/g
OS X VersionSystemshow OS X version (this is very cute)osxversion=`grep -A1 ProductVersion /System/Library/CoreServices/SystemVersion.plist | tail -n 1 | sed -e "s/.*<string>//" -e "s/<\/string>.*//"`;echo "${osxversion#*.}"

Security

App Profile CleanSecurityclean app_profile directorysudo rm -fr /var/vm/app_profile
App Profile DataSecurityview app_profile data for current user and rootecho 0_data;echo ======;sudo hexdump -Cv /var/vm/app_profile/0_data;echo;echo 1f5_data;echo ========;sudo hexdump -Cv /var/vm/app_profile/1f5_data
App Profile NamesSecurityview app_profile names for current user and rootecho 0_names;echo =======;sudo hexdump -Cv /var/vm/app_profile/0_names;echo;echo 1f5_names;echo =========;sudo hexdump -Cv /var/vm/app_profile/1f5_names
App Profile PurgeSecurityclean app_profile directorysudo rm -fPr /var/vm/app_profile
Attack CheckSecuritycheck for system attacks oncecat /var/log/system.log | grep -E 'sshd.*(Accepted|identification|[U|u]ser)'
Attack Check ContinualSecuritycheck for system attacks continually ('Stop' ends)tail -F /var/log/system.log | grep -E 'sshd.*(Accepted|identification|[U|u]ser)'
Attack Check History + ContinualSecuritycheck for previous attacks then monitor for new ones ('Stop' ends)tail -F /var/log/system.log | grep -E 'sshd.*(Accepted|identification|[U|u]ser)'
AuthorizationSecurityview authorization filecat /etc/authorization
BootRooter Lock 1Securitylock InputManagers with user immutablemkdir /Library/InputManagers; chmod 0700 /Library/InputManagers; chflags 017 /Library/InputManagers
BootRooter Lock 2Securitylock InputManagers with system and user immutablesmkdir /Library/InputManagers; chmod 0700 /Library/InputManagers; sudo chown 0:0 /Library/InputManagers; sudo chflags 1600017 /Library/InputManagers
BootRooter Lock 3Securitylock against Boot Rooter with 'sticky bits'mkdir /Library/InputManagers /Library/StartupItems; chmod 0755 /Library/InputManagers /Library/StartupItems; sudo chown 0:80 /Library /Library/InputManagers /Library/StartupItems; sudo chmod 1775 /Library
BootRooter Lock 4Securitylock against BootRooter with system and user immutablesmkdir /Library/InputManagers /Library/StartupItems; chmod 0700 /Library/InputManagers /Library/StartupItems; sudo chown 0:0 /Library/InputManagers /Library/StartupItems; sudo chflags 1600017 /Library/InputManagers /Library/StartupItems
CksumSecurityshow checksum (and octets)cksum /usr/bin/cksum
Cksum 32-bitSecurityshow checksum 32-bit (and octets)cksum -o 3 /usr/bin/cksum
Cksum AT&TSecurityshow checksum AT&T (and octets)cksum -o 2 /usr/bin/cksum
Cksum BSDSecurityshow checksum BSD (and octets)cksum -o 1 /usr/bin/cksum
Drive By Downloads OffSecuritystop Safari drive by downloadsdefaults write com.apple.Safari AutoOpenSafeDownloads -bool NO; defaults write /Library/Preferences/com.apple.Safari AutoOpenSafeDownloads -bool NO
Drive By Downloads ReadSecurityread Safari drive by downloads setting (should be 0)defaults read com.apple.Safari AutoOpenSafeDownloads
Drive By Downloads Read GlobalSecurityread global Safari drive by downloads setting (should be 0)defaults read /Library/Preferences/com.apple.Safari AutoOpenSafeDownloads
Effective GIDSecurityshow effective group ID of current userid -g
Effective GID RootSecurityshow effective group ID of rootsudo id -g
Effective GroupSecurityshow effective group of current userid -gn
Effective Group RootSecurityshow effective group of rootsudo id -gn
Effective UIDSecurityshow effective UID of current userid -u
Effective UID RootSecurityshow effective UID of rootsudo id -u
Effective UserSecurityshow effective user of current userid -nu
Effective User RootSecurityshow effective user of rootsudo id -nu
File Systems KernelSecurityshow all file systems compiled into the running kernelsysctl -A vfs | sort
File Systems SystemSecurityshow all file systems compiled into the running systemsysctl vfs | sort
File TypesSecuritylist file types in all bin directoriessudo file -z /bin/*;sudo file -z /sbin/*;sudo file -z /usr/bin/*;sudo file -z /usr/sbin/*
File Types /binSecuritylist file types in /binsudo file -z /bin/*
File Types /sbinSecuritylist file types in /sbinsudo file -z /sbin/*
File Types /usr/binSecuritylist file types in /usr/binsudo file -z /usr/bin/*
File Types /usr/sbinSecuritylist file types in /usr/sbinsudo file -z /usr/sbin/*
Find Block FilesSecurityfind block filesecho Scanning for block files...;sudo find / -type b -ls
Find Character FilesSecurityfind character filesecho Scanning for character files...;sudo find / -type c -ls
Find Empty DirectoriesSecurityfind empty directoriesecho Scanning for empty directories...;sudo find / -type d -empty -ls
Find Empty FilesSecurityfind empty files (will not detect HFS+ resource forks)echo Scanning for empty files...;sudo find / -type f -empty -ls
Find FIFOsSecurityfind FIFOsecho Scanning for FIFOs...;sudo find / -type p -ls
Find SGIDsSecurityfind SGID filesecho Scanning for SGID files...;sudo find / -type f -perm -02000 -ls
Find SGIDs And SUIDsSecurityfind SGID and SUID filesecho Scanning for SGID and SUID files...;sudo find / -type f -perm +06000 -ls
Find SocketsSecurityfind socketsecho Scanning for sockets...;sudo find / -type s -ls
Find SUID Root FilesSecurityfind SUID root filesecho Scanning for SUID root files...;sudo find / -type f -perm -04000 -user 0 -ls
Find SUIDsSecurityfind SUID filesecho Scanning for SUID files...;sudo find / -type f -perm -04000 -ls
Find SymlinksSecurityfind symlinksecho Scanning for symlinks...;sudo find / -type l -ls
Find World-Writable FilesSecurityfind world-writable filesecho Scanning for world-writable files...;sudo find / -perm 2 -type f -ls
Firewall All ReadSecurityread firewall settingsdefaults read /Library/Preferences/com.apple.sharing.firewall
Firewall Allports ReadSecurityread firewall settingsdefaults read /Library/Preferences/com.apple.sharing.firewall allports
Firewall Config ReadSecurityread firewall settingsdefaults read /Library/Preferences/com.apple.sharing.firewall firewall
Firewall State ReadSecurityread firewall state (if firewall is on)defaults read /Library/Preferences/com.apple.sharing.firewall state
Firewall StatusSecurityshow status of firewalldmesg | grep IP
GIDsSecurityshow GIDs of current userid -G
GIDs RootSecurityshow GIDs of rootsudo id -G
GroupsSecurityshow groups of current userid -Gn
Groups RootSecurityshow groups of rootsudo id -Gn
IDSecurityshow current user and all groupsid
ID RootSecurityshow root user ID and all groupssudo id
InputManagers Lock Level 1Securitylock InputManagers with user immutablemkdir /Library/InputManagers ~/Library/InputManagers; chmod 0700 /Library/InputManagers ~/Library/InputManagers; chflags 017 /Library/InputManagers ~ /Library/InputManagers
InputManagers Lock Level 2Securitylock InputManagers with system immutablemkdir /Library/InputManagers ~/Library/InputManagers; sudo chown 0:0 /Library/InputManagers ~/Library/InputManagers; sudo chmod 0700 /Library/InputManagers ~/Library/InputManagers; sudo chflags 1600017 /Library/InputManagers ~/Library/InputManagers
Kill NAVSecuritykill Norton Antivirussudo killall SmallScanner
List /tmpSecuritylist contents of /tmpsudo ls -ailoR /private/tmp
List /tmp InputManagersSecuritylist contents of /tmp and InputManagerssudo ls -ailoR /private/tmp /Library/InputManagers ~/Library/InputManagers
List InputManagersSecuritylist contents of InputManagerssudo ls -ailoR /Library/InputManagers ~/Library/InputManagers
local.nidumpSecurityshow local NetInfo dump filesudo cat /var/backups/local.nidump
MD5Securityshow md5 for given filemd5 /sbin/md5
MD5 QuietSecurityshow md5 for given filemd5 -q /sbin/md5
MD5 ReverseSecurityshow md5 reverse format for given filemd5 -r /sbin/md5
Open Firmware PasswordSecurityshow OF passwordecho -e `nvram -p | grep password | awk '{ print $2 }' | sed s/\%/'\\\x'/g`
SGIDsSecuritylist SGIDs in all bin directoriessudo file -z /bin/* /sbin/* /usr/bin/* /usr/sbin/* | grep setgid
SGIDs & SUIDsSecuritylist SGIDs and SUIDs in all bin directoriessudo file -z /bin/* /sbin/* /usr/bin/* /usr/sbin/* | grep set[gu]id
SGIDs & SUIDs /binSecuritylist SGIDs and SUIDs in /binsudo file -z /bin/* | grep set[gu]id
SGIDs & SUIDs /sbinSecuritylist SGIDs and SUIDs in /sbinsudo file -z /sbin/* | grep set[gu]id
SGIDs & SUIDs /usr/binSecuritylist SGIDs and SUIDs in /usr/binsudo file -z /usr/bin/* | grep set[gu]id
SGIDs & SUIDs /usr/sbinSecuritylist SGIDs and SUIDs in /usr/sbinsudo file -z /usr/sbin/* | grep set[gu]id
SGIDs /binSecuritylist SGIDs in /binsudo file -z /bin/* | grep setgid
SGIDs /sbinSecuritylist SGIDs in /sbinsudo file -z /sbin/* | grep setgid
SGIDs /usr/binSecuritylist SGIDs in /usr/binsudo file -z /usr/bin/* | grep setgid
SGIDs /usr/sbinSecuritylist SGIDs in /usr/sbinsudo file -z /usr/sbin/* | grep setgid
SudoSecuritylist contents of sudo directorysudo ls -ailoR /var/run/sudo
sudo CommandsSecuritylist allowed and forbidden commandssudo -l
sudo KillSecurityset sudo timestamp to epochsudo -k
sudo ParametersSecuritylist parameters set in a 'Defaults' linesudo -L
sudo Sure KillSecurityremove sudo timestampsudo -K
sudo Sure Kill AllSecurityremove all sudo timestampssudo find /var/run/sudo -name tty* -delete
sudoersSecurityview sudoers filesudo cat /etc/sudoers
SUIDsSecuritylist SUIDs in all bin directoriessudo file -z /bin/* /sbin/* /usr/bin/* /usr/sbin/* | grep setuid
SUIDs /binSecuritylist SUIDs in /binsudo file -z /bin/* | grep setuid
SUIDs /sbinSecuritylist SUIDs in /sbinsudo file -z /sbin/* | grep setuid
SUIDs /usr/binSecuritylist SUIDs in /usr/binsudo file -z /usr/bin/* | grep setuid
SUIDs /usr/sbinSecuritylist SUIDs in /usr/sbinsudo file -z /usr/sbin/* | grep setuid
SumSecurityshow checksum with sumsum /usr/bin/cksum
Swap CleanSecurityclean swap files (only immediately prior to reboot or shutdown)sudo rm -f /private/var/vm/swapfile*
Swap PurgeSecuritypurge swap files (only immediately prior to reboot or shutdown)sudo rm -fP /private/var/vm/swapfile*
SymlinksSecuritylist symlinks in all bin directoriessudo file -z /bin/* /sbin/* /usr/bin/* /usr/sbin/* | grep symbolic
Symlinks /binSecuritylist symlinks in /binsudo file -z /bin/* | grep symbolic
Symlinks /sbinSecuritylist symlinks in /sbinsudo file -z /sbin/* | grep symbolic
Symlinks /usr/binSecuritylist symlinks in /usr/binsudo file -z /usr/bin/* | grep symbolic
Symlinks /usr/sbinSecuritylist symlinks in /usr/sbinsudo file -z /usr/sbin/* | grep symbolic
What I've DoneSecurityshow remnants of user activity in swap filessudo strings -8 /var/vm/swapfile* | grep -A 4 -i <USER> (where <USER> is your login account name)
who utmpSecurityshow system activity in utmpwho /var/run/utmp

System

.hidden /Systemview contents of /.hidden filesudo cat /.hidden
.profileSystemview system wide .profile file for shcat /etc/profile
Active CPUsSystemshow number of active CPUssysctl hw.activecpu | sed s/'^hw.activecpu: '//
Active ServicesSystemshow active servicescat /etc/hostconfig | grep "\-YES\-" | sort
All ServicesSystemshow all servicescat /etc/hostconfig | grep "=\-" | sort
AltivecSystemshow presence of Altivecsysctl hw.optional.altivec | sed s/'^hw.optional.altivec: '//
Apple Plist DTDSystemshow the Apple plist DTDcurl -s http://www.apple.com/DTDs/PropertyList-1.0.dtd
AppleDouble List /Systemlist all AppleDouble files in file systemsudo find / -name __MACOSX -type d
AppleDouble List ~Systemlist all AppleDouble files in home areasudo find ~ -name __MACOSX -type d
AppleDouble Remove /Systemremove all AppleDouble files in file systemsudo find / -name __MACOSX -type d -exec rm -fr {} \;
AppleDouble Remove ~Systemremove all AppleDouble files in home areasudo find ~ -name __MACOSX -type d -exec rm -fr {} \;
AppleTalk HostnameSystemshow AppleTalk hostnamecat /etc/hostconfig | grep "APPLETALK_HOSTNAME=" | sed s/"^APPLETALK_HOSTNAME="//
AproposSystemfind cursory information on a Unix commandapropos a2p
ArchSystemshow architecture typearch
ASCII PLSystemshow property list in ASCII PL (NeXT) format/usr/bin/pl </etc/authorization
Automatic ServicesSystemshow automatic servicescat /etc/hostconfig | grep "\-AUTOMATIC\-" | sort
Available RAMSystemshow available MB RAM (from startup item SystemTuning)hostinfo | sed -n '/Primary memory available/p' | sed -e 's/Primary memory available: *//' -e 's/\.[0-9][0-9] *megabytes.$//'
BannerSystemshow string in (very) large lettersbanner CLIX
BasenameSystemshow base name of pathbasename /Applications/Zork/file.withanyoldextension
bashrcSystemshow system wide bashrc filecat /etc/bashrc
Battery Show PercentSystemshow setting for battery menu extradefaults read com.apple.menuextra.battery ShowPercent
Battery Show TimeSystemshow setting for battery menu extradefaults read com.apple.menuextra.battery ShowTime
BiffSystemshow if biff (notification of incoming mail) is onbiff
BOMsSystemshow contents of BOMs in systemfind /Library/Receipts -name '*.bom' -exec lsbom {} \;
Boot TimeSystemshow boot timesysctl kern.boottime | sed s/'^kern.boottime = '//
BootCache EnableSystemenable BootCache kernel extensionsudo ln -s /System/Library/Extensions/BootCache.kext/Contents/Resources/BootCacheControl /usr/sbin
BootCache.playlistSystemdump BootCache.playlistsudo hexdump -Cv /private/var/db/BootCache.playlist
Byte OrderSystemshow machine byte ordersysctl hw.byteorder | sed s/'^hw.byteorder: '//
Cal Current MonthSystemshow calendar for current monthcal
Cal Current Month JulianSystemshow julian calendar for current monthcal -j
Cal Current YearSystemshow calendar for current yearcal -y
Cal Current Year JulianSystemshow julian calendar for current yearcal -jy
Cal Month/YearSystemshow calendar for month 1-12/year 1-9999cal 1 2005
Cal Month/Year JulianSystemshow julian calendar for month 1-12/year 1-9999cal -j 1 2005
Clear RecentsSystemclear recents from launch services databases/System/Library/Frameworks/ApplicationServices.framework/Versions/A /Frameworks/LaunchServices.framework/Versions/A/Support/LSRecentTool -c
Clock RateSystemshow clock ratesysctl kern.clockrate | sed s/'^kern.clockrate: '//
CPUsSystemshow number of CPUssysctl hw.ncpu | sed s/'^hw.ncpu: '//
crontabSystemshow crontab filecat /etc/crontab
csh login logoutSystemshow csh login and logout filesecho csh.login;echo =========;cat /etc/csh.login;echo csh.logout;echo ==========;cat /etc/csh.logout
dailySystemview daily scriptcat /etc/daily
DateSystemshow system date and timedate
DateSystemshow local date and timeecho Local Time;echo ==========;date
Date Local & UTCSystemshow local and UTC date and timeecho Local Time;echo ==========;date;echo;echo UTC Time;echo ========;date -u
Date UTCSystemshow UTC date and timeecho UTC Time;echo ========;date -u
Default KeychainSystemshow info on default keychaindefaults read com.apple.security DefaultKeychain
Default VnodesSystemshow default number vnodes (from startup item SystemTuning)sysctl kern.maxvnodes | sed -e 's/^[^0-9]*//'
Defaults AllSystemshow all defaultsecho Root Defaults;echo =============;sudo defaults read -g;sudo defaults read;echo User Defaults;echo =============;defaults read -g;defaults read | grep -v LSBundleLocator
Defaults DomainsSystemshow all defaults domains in home areadefaults domains | sed y/" "/"\n"/ | sed s/' '// | sed s/,//
Defaults Launch ServicesSystemshow launch services defaultsdefaults read com.apple.LaunchServices | grep -v LSBundleLocator
Defaults RootSystemshow root defaultssudo defaults read -g;sudo defaults read
Defaults UserSystemshow defaults for current userdefaults read -g;defaults read | grep -v LSBundleLocator
Desktop BackgroundSystemread details on desktop backgrounddefaults read com.apple.desktop Background | grep -v ImageFileAlias
Device CopyrightSystemshow device copyrightioreg -c 'IOPlatformExpertDevice' | grep \"copyright | sed s/' | \"copyright\" = '//g
Directory Count /Systemcount all directories in file systemcd /; sudo find / -type d | wc -l
Directory Count ~Systemcount all directories in home areacd ~; sudo find ~ -type d | wc -l
DirnameSystemshow directory part of pathdirname /Applications/Zork/file.withanyoldextension
DLDB Search ListSystemshow info on DLDB search listdefaults read com.apple.security DLDBSearchList
DmesgSystemdisplay the system message bufferdmesg
DMProxySystemfix FUS colour profile bug (10.4.1 and later)/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /CoreGraphics.framework/Versions/A/Resources/DMProxy &
Dump DiskSystemshow contents of disk (/dev/disk0 used an example - stop manually)sudo hexdump -Cv /dev/disk0
Dump MemSystemshow memory (stop manually)sudo hexdump -Cv /dev/mem
Dump RdiskSystemshow contents of rdisk (/dev/rdisk0 used an example - stop manually)sudo hexdump -Cv /dev/rdisk0
Dump SwapSystemshow contents of swapfile(s) (stop manually)sudo hexdump -Cv /var/vm/swapfile*
Dump UrandomSystemdump /dev/urandom (stop manually)sudo hexdump -Cv /dev/urandom
Dump ZeroSystemdump /dev/zero (all zeroes - stop manually)sudo hexdump -Cv /dev/zero
EpochSystemshow epoch (from startup item SystemTuning)sysctl hw.epoch | sed 's/^hw.epoch: //'
Extensions.kextcacheSystemdump Extensions.kextcachesudo hexdump -Cv /System/Library/Extensions.kextcache
Extensions.mkextSystemdump Extensions.mkextsudo hexdump -Cv /System/Library/Extensions.mkext
File Count /Systemcount all files in file systemcd /; sudo find / -type f | wc -l
File Count ~Systemcount all files in home areacd ~; sudo find ~ -type f | wc -l
File StatusSystemshow file statusfstat -nv
Find Apple Junk /Systemfind all junk files on hard drivesudo find / \( -name '\.DS_Store' -or -name '\.FBCIndex' -or -name '\.localized' -or -name '\.MCXLC' \)
Find Apple Junk ~Systemfind all junk files in home directorysudo find ~ \( -name '\.DS_Store' -or -name '\.FBCIndex' -or -name '\.localized' -or -name '\.MCXLC' \)
Find InodeSystemfind a file by its inodefind / -inum 0;find / -inum 2
Finder PathSystemshow path to default 'Finder'defaults read com.apple.loginwindow Finder
FingerSystemshow user informationfinger;echo;finger -l
Floating PointSystemshow presence of floating point unitsysctl hw.optional.floatingpoint | sed s/'^hw.optional.floatingpoint: '//
fs_usageSystemshow system calls and page faults (must be manually stopped)sudo fs_usage -e
FTP UsersSystemview list of users disallowed FTP accesscat /etc/ftpusers
GCC SpecsDevelopershow default gcc specscat /usr/libexec/gcc/darwin/ppc/default/specs
GCC VersionDevelopershow default gcc version infogcc -v
Group DatabaseSystemview single user mode group databasecat /etc/group
HeapSystemshow malloc-allocated buffers in a processheap Dock
Host InfoSystemshow data on local machinehostinfo
Host NameSystemshow name of current host systemhostname
HostconfigSystemview hostconfig filecat /etc/hostconfig
HostsSystemview single user mode hosts cachecat /etc/hosts
I/O StatsSystemshow I/O statisticsiostat
Inactive ServicesSystemshow inactive servicescat /etc/hostconfig | grep "\-NO\-" | sort
Inetd ConfigurationSystemview Internet server configuration databasecat /etc/inetd.conf
IO Alloc CountSystemshow IOKit memory usageioalloccount
IO Class CountSystemshow IORegistry class count (AppleMacIODevice used as example)ioclasscount AppleMacIODevice
IOKit RegistrySystemshow IOKit registryioreg -w0 -x
IOKit Registry Busy RetainSystemshow IOKit registry with busy state and retain countioreg -s -w0 -x
IOKit Registry Dump ISystemdump IOKit registry (huge output)ioreg -l -s -w0 -x
IOKit Registry Dump IISystemdump IOKit registry to disk and open in text editorioreg -l -s -w0 -x > /tmp/ioreg.rtx;open /tmp/ioreg.rtx
IOKit Registry Dump II CleanSystemclean IOKit Registry dump filesudo rm -f /tmp/ioreg.rtx
IOKit Registry Dump II PurgeSystempurge IOKit Registry dump filesudo rm -fP /tmp/ioreg.rtx
IP ForwardingSystemshow IP forwarding flagsysctl net.inet.ip.forwarding | sed s/'^net.inet.ip.forwarding: '//
Kernel Extension StatusSystemdisplay status of dynamically loaded kernel extensionskextstat
Kernel VersionSystemshow kernel versionsysctl kern.version | sed s/'^kern.version = '//
Kill SignalsSystemshow available kill signalskill -l
L2 Cache SizeSystemshow size of L2 cachesysctl hw.l2cachesize | sed s/'^hw.l2cachesize: '//
LandmineSystemcheck for CWD in path variableecho $path | grep '\.'
LeaksDevelopercheck memory leaks in running programsecho Leaks for Dock.app:;leaks -nocontext Dock;echo;echo Leaks for Finder.app:;leaks -nocontext Finder
Line Printer InfoSystemshow available devices and driverslpinfo -l
Line Printer StatusSystemshow CUPS status informationlpstat -l
List Resource ForkSystemlist both the data and resource forks (CarbonLib used as an example)ls -ilo /System/Library/CoreServices/Classic\ Startup.app/Contents/Resources /UniversalForks/CarbonLib /System/Library/CoreServices/Classic\ Startup.app/Contents/Resources/UniversalForks/CarbonLib/rsrc
Load AveragesSystemshow load averagessysctl vm.loadavg | sed s/'^vm.loadavg: '//
lsof Version InformationSystemview lsof version informationlsof -v
MAC AddressSystemshow MAC addressifconfig en0 | grep "ether" | awk '{ print $2 }'
Mac ErrorSystemshow 'explanation' of 'Mac' error code (-1851 used as example)cat /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks /CarbonCore.framework/Versions/Current/Headers/MacErrors.h | grep "\-1851"
MachineSystemshow machine designationsysctl hw.machine | sed s/'^hw.machine: '//
MachineSystemshow machine typemachine
MagicSystemview magic data for file commandcat /etc/magic
Mail AccessSystemview mail access filesudo hexdump -Cv /etc/mail/access
Mail Access DatabaseSystemview mail access.db filesudo hexdump -Cv /etc/mail/access.db
Make WhatisSystemmake/update apropos/whatis databasesudo /usr/libexec/makewhatis /usr/share/man
Man DebugSystemshow man debug informationman -d
Man Debug TraceSystemshow man debug trace information (man used as example)man -dw man
manpathSystemshow path for man pagesmanpath
master.passwdSystemview master.passwd file (for single user mode)sudo cat /etc/master.passwd
Max File HandlesSystemshow maximum file handlessysctl kern.maxfiles | sed s/'^kern.maxfiles = '//
Max Frag PacketsSystemshow max frag packetssysctl net.inet.ip.maxfragpackets | sed s/'^net.inet.ip.maxfragpackets: '//
Max ProcessesSystemshow maximum processessysctl kern.maxproc | sed s/'^kern.maxproc = '//
Max Socket BufferSystemshow maximum socket buffer sizesysctl kern.ipc.maxsockbuf | sed s/'^kern.ipc.maxsockbuf: '//
Max SocketsSystemshow maximum number of socketssysctl kern.ipc.maxsockets | sed s/'^kern.ipc.maxsockets: '//
Max VnodesSystemshow max vnodessysctl kern.maxvnodes | sed s/'^kern.maxvnodes = '//
Mem SizeSystemshow amount of installed RAMsysctl hw.memsize | sed s/'^hw.memsize: '//
Mem Size UserSystemshow amount of RAM available to usersysctl hw.usermem | sed s/'^hw.usermem: '//
Menu ExtrasSystemread UI server menulet extrasdefaults read com.apple.systemuiserver menuExtras
Message of the DaySystemview message of the daycat /etc/motd
MIME TypeSystemshow MIME type for file extensioncat /etc/httpd/mime.types | grep -i txt
Mime TypesSystemview httpd mime typescat /etc/httpd/mime.types
Mime Types DefaultSystemview default httpd mime typescat /etc/httpd/mime.types.default
ModelSystemshow model designationsysctl hw.model | sed s/'^hw.model: '//
Modem Force DisconnectSystemforce the modem to disconnectsudo killall pppd
Modem Force Disconnect (Brutal)Systemforce the modem to disconnectsudo killall -9 pppd
moduliSystemview moduli filesudo hexdump -Cv /etc/moduli
monthlySystemview monthly scriptcat /etc/monthly
named ConfigurationSystemview rndc control channelscat /etc/named.conf
NetInfo Report AllSystemshow all NetInfo data (for root)nireport . /users name uid gid realname home shell passwd | grep -v 501
NetworksSystemview single user mode networks databasecat /etc/networks
Nidump Passwd .Systemshow password file for CWDnidump passwd /
Nidump Passwd /Systemshow password file for boot volumenidump passwd /
NVRAM PrintSystemprint nvram variablesnvram -p
OperatorDevelopershow C associativity tablecat /usr/share/misc/operator
OS ReleaseSystemshow OS releasesysctl kern.osrelease | sed s/'^kern.osrelease = '//
OS RevisionSystemshow OS revisionsysctl kern.osrevision | sed s/'^kern.osrevision = '//
OS TypeSystemshow OS typesysctl kern.ostype | sed s/'^kern.ostype = '//
OtoolDevelopershow object file dataotool -h -L -l /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Otool DisassembleDeveloperdisassemble object file (__TEXT section)otool -t -V -v /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Page SizeSystemshow system page sizepagesize
Page Size IISystemshow system page size using sysctlsysctl hw.pagesize | sed s/'^hw.pagesize: '//
PagestuffSystemshow all logical pages of Mach-O executablepagestuff /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock -a
Pagestuff SectionsSystemshow sections of Mach-O executable with offsets and sizespagestuff /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock -p
passwdSystemview passwd file (for single user mode)sudo cat /etc/passwd
Pasteboard PasteSystempaste contents of pasteboard (if text)pbpaste
PathSystemshow command pathecho $PATH
Path MTU DiscoverySystemshow path MTU discovery flagsysctl net.inet.tcp.path_mtu_discovery | sed s/'^net.inet.tcp.path_mtu_discovery: '//
PeriodicSystemrun all system functionssudo periodic daily weekly monthly
Periodic ConfigurationSystemview periodic configuration filecat /etc/defaults/periodic.conf
Persistent OthersDockshow persistent others on dockdefaults read com.apple.dock persistent-others
Platform Serial NumberSystemshow platform serial numberioreg -c IOPlatformExpertDevice | awk '/IOPlatformSerialNumber/ {print $4}' | cut -b 2-12
PLIST XML1Systemconvert all personal preferences files to XML (text) formatfind ~/Library/Preferences -name *\.plist -exec plutil -convert xml1 {} \;
plutilSystemcheck property list (preference) files for corruptionsudo find /Library/Preferences -name *.plist -exec plutil {} \;;find ~/Library/Preferences -name *.plist -exec plutil {} \;
plutil QuietSystemshow corrupted property list (preference) filessudo find /Library/Preferences -name *.plist -exec plutil -s {} \;;find ~/Library/Preferences -name *.plist -exec plutil -s {} \;
plutil Quiet RootSystemsearch entire disk for corrupted property list filessudo find / -name *\.plist -exec plutil -s {} \;
POSIX 1 VersionSystemshow POSIX 1 versionsysctl kern.posix1version | sed s/'^kern.posix1version = '//
POSIX 2 VersionSystemshow POSIX 2 versionsysctl user.posix2_version | sed s/'^user.posix2_version = '//
Power Management SettingsSystemshow power management settingspmset -g
Print Working DirectorySystemshow working directorypwd
Process StatusSystemshow process statusps acx
Process Status CPUSystemshow process status with CPU usageps acux
Process Status MemorySystemshow process status with memory usageps acvx
Process Status ThreadsSystemshow process status with threadsps acMx
ProtocolsSystemview list of Internet protocolscat /etc/protocols
Pstat Open FilesSystemshow info on open filespstat -f
Pstat TerminalsSystemshow info on terminalspstat -t
Pstat VnodesSystemshow info on active vnodespstat -v
Purge Swap FilesSystempurge swap files (not to be undertaken lightly - boot immediately)rm -fPr /var/vm/swapfile*
QuotaSystemshow disk usage and limits for current userquota
Quota AllSystemshow disk usage and limits for common users and groupssudo quota -u 0 1 501;echo;sudo quota -g 0 20 80
Quota Group AdminSystemshow disk usage and limits for group adminquota -u 80
Quota Group StaffSystemshow disk usage and limits for group staffsudo quota -u 80
Quota Group WheelSystemshow disk usage and limits for group wheelsudo quota -g 0
Quota Groups 0 20 80Systemshow disk usage and limits for groups wheel staff adminsudo quota -g 0 20 80
Quota User 501Systemshow disk usage and limits for user 501quota -u 501
Quota User DaemonSystemshow disk usage and limits for user daemonsudo quota -u 1
Quota User RootSystemshow disk usage and limits for user rootsudo quota -u 0
Quota Users 0 1 501Systemshow disk usage and limits for users root daemon 501sudo quota -u 0 1 501
Raw Max DatagramSystemshow max raw socket datagramsysctl net.inet.raw.maxdgram | sed s/'^net.inet.raw.maxdgram: '//
rcSystemview multiuser startup scriptcat /etc/rc
rc allSystemshow all rc filescat /etc/rc.*
rc.bootSystemview single user startupcat /etc/rc.boot
rc.cleanupSystemview rc cleanup scriptcat /etc/rc.cleanup
rc.commonSystemview common setup for startup scriptscat /etc/rc.common
rc.netbootSystemview NetBoot configuration scriptcat /etc/rc.netboot
Recent AppsSystemshow applications on recent items listdefaults read com.apple.recentitems apps
Recent DocsSystemshow documents on recent items listdefaults read com.apple.recentitems docs
Reset OwnershipsSystemreset ownership of all files in home areachmod -R 501:20 ~
sampleSystemcreate a process profile (over two seconds)sample [PID] 2
sc_usageSystemshow system call statistics (run from Terminal)sudo sc_usage -e Dock
Screen Saver EngineSystemactivate screen saver as desktop background (stop manually)/System/Library/Frameworks/ScreenSaver.framework/Resources /ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
Scripting LanguagesSystemshow available scripting languagesosalang
Secure LevelSystemshow secure levelsysctl kern.securelevel | sed s/'^kern.securelevel = '//
SecuritySystemshow defaults in com.apple.securitydefaults read com.apple.security
Sendmail ConfigSystemview sendmail configurationcat /etc/mail/sendmail.cf
ServicesSystemview list of Internet services (well known port numbers)cat /etc/services
setSystemview environment variablesset
ShellsSystemview list of acceptable shells for chpasscat /etc/shells
Size Long Mach-O HexDevelopershow size of sections of object file long format with Mach-O data hex formatsize -l -m -x /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
SMB ConfigSystemview configuration file for smbd (Samba file and printer sharing)cat /etc/smb.conf
SMB Config TemplateSystemview template configuration file for smbd (Samba file and printer sharing)cat /etc/smb.conf.template
Software UpdateSystemfind updated softwaresoftwareupdate
ssh_configSystemview ssh client system wide configuration filecat /etc/ssh_config
sshd_configSystemview sshd server system wide configuration filecat /etc/sshd_config
Standard Timeslicing QuantumSystemshow standard timeslicing quantumdmesg | grep timeslicing
STTYSystemshow options for terminal (must be run from TTY)stty
STTY AllSystemshow all options for terminal (must be run from TTY)stty -a
STTY All BSDSystemshow all options for terminal in BSD format (must be run from TTY)stty -e
STTY All StdinSystemshow all options in stdin format (must be run from TTY)stty -g
StyleDevelopershow 4BSD KNF style guidecat /usr/share/misc/style
submit.cfSystemview sendmail submit.cf configuration filecat /etc/mail/submit.cf
Super List Atime SortedSystemlist all sorted inodes long extended flags block usage and complete atime infols -ailosTu
Super List Atime UnsortedSystemlist all unsorted inodes long extended flags block usage and complete atime infols -afilosTu
Super List Ctime SortedSystemlist all sorted inodes long extended flags block usage and complete ctime infols -acilosT
Super List Ctime UnsortedSystemlist all unsorted inodes long extended flags block usage and complete ctime infols -acfilosT
Super List Mtime SortedSystemlist all sorted inodes long extended flags block usage and complete mtime infols -ailosT
Super List Mtime UnsortedSystemlist all unsorted inodes long extended flags block usage and complete mtime infols -afilosT
Supplemental GIDsSystemshow number of supplemental GIDssysctl kern.ngroups | sed s/'^kern.ngroups = '//
sw_versSystemshow system product name product version and build versionsw_vers
SyncSystemforce completion of pending disk writes (flush cache)sync;sync
Sysctl AllSystemget kernel statesysctl -a | sort
Sysctl HardwareSystemshow hardware statisticssysctl hw | sort
Sysctl IPSystemshow IP statisticssysctl net.inet.ip | sort
Sysctl KernelSystemshow kernel statisticssysctl kern
Sysctl NetSystemshow net statisticssysctl net | sort
System & Build VersionsSystemshow system and build versionsecho -n 'System Version: ';defaults read loginwindow SystemVersionStampAsString;echo -n ' Build Version: ';defaults read loginwindow BuildVersionStampAsString
System Profile TextSystemshow system profile in text formatsystem_profiler
System Profile XMLSystemshow system profile in XML formatsystem_profiler -xml
System VersionSystemshow system version infocat /System/Library/CoreServices/SystemVersion.plist
Tile SizeDockshow tile sizedefaults read com.apple.dock tilesize
ToeSystemshow table of terminfo entriestoe
TopSystemshow system usage statisticstop -l1
Top DeltaSystemshow system usage statisticstop -l1 -w
Top Delta PID 0Systemshow system usage statistics with kernel task and delta columnstop -l1 -k -w
Top Event AbsoluteSystemshow system usage statistic in event counting mode using absolutestop -l1 -e
Top Event CumulativeSystemshow system usage statistic in event counting mode using cumulativestop -l1 -a
Top Event DeltaSystemshow system usage statistics in event counting mode using deltastop -l1 -d
Top PID 0Systemshow system usage statistics with kernel tasktop -l1 -k
Trace CodeDeveloperlook up trace codecat /usr/share/misc/trace.codes | grep -i 1FFF0000
Trash Full OffDockset trash to emptydefaults write com.apple.dock trash-full -bool NO;killall Dock
Trash Full OnDockset trash to fulldefaults write com.apple.dock trash-full -bool YES;killall Dock
Trash Full ReadDockshow trash full statusdefaults read com.apple.dock trash-full
TTLSystemshow default TTLsysctl net.inet.ip.ttl | sed s/'^net.inet.ip.ttl: '//
TTYSystemshow user's terminal name (needs ordinary Terminal window to be a 'terminal')tty
ttySystemshow user's terminal name (needs ordinary Terminal window to be a 'terminal')tty
ttysSystemview terminal initialisation informationcat /etc/ttys
ttys.installerSystemview ttys installercat /etc/ttys.installer
UmaskSystemset the global umasksudo defaults write /Library/Preferences/-g NSUmask 23
Uname AllSystemshow operating system name and all optionsuname -a
Uname Generic ProcessorSystemshow generic processor typeuname -p
Uname Machine HardwareSystemshow machine hardware nameuname -m
Uname NodenameSystemshow nodenameuname -n
Uname Operating SystemSystemshow operating system nameuname -s
Uname ReleaseSystemshow operating system releaseuname -r
Uname VersionSystemshow operating system versionuname -v
Untar AppleDoublesSystemrid tar of AppleDoubles (<tarball> is the target)tar -ftv <tarball> | awk '/\/\._/{print $NF}' | xargs tar -f <tarball> --delete
Update Launch ServicesSystemupdate launch services databases/System/Library/Frameworks/ApplicationServices.framework/Versions/A /Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -domain local -domain system -domain user
Update Launch Services DiagnosticsSystemupdate launch services databases and show diagnostics/System/Library/Frameworks/ApplicationServices.framework/Versions/A /Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -domain local -domain system -domain user -v
UpdatedbSystemupdate the locate database sudo /usr/libexec/locate.updatedb
UptimeSystemshow how long system has been runninguptime
User UIDSystemshow name and UID for current userecho -n $USER;echo -n " (";echo -n $UID;echo \)
UsersSystemshow current usersusers
uuidgenSystemgenerate UUID (universally unique ID)uuidgen
View Sys Config PrefsSystemview SystemConfiguration preferencescat /var/db/SystemConfiguration/preferences.xml
vm_statSystemshow Mach virtual memory statisticsvm_stat
vmmapSystemshow virtual memory regions allocated in a processvmmap Dock
vmmap changesSystemshow changes in virtual memory allocations in a process (2 seconds used)vmmap -d 2 Dock
Volume Info DatabaseSystemshow volume info databasesudo cat /private/var/db/volinfo.database
wSystemshow present users and what they are doingw
W-Enhanced TrackpadSystemshow if W enhanced trackpad is installedioreg -l | grep W\ Enhanced\ Trackpad | sed s/" | | | | | | "//g
WallSystemwrite to all open terminals (run from a terminal - open a few first to see)wall '&new.clix'
weeklySystemview weekly scriptcat /etc/weekly
WhatisSystemfind cursory information on a Unix commandwhatis a2p
whoSystemshow who is logged inwho -HTu
who am iSystemshow information on effective userwho am i
who am i POSIXSystemshow information on effective userwho -HmTu
whoamiSystemshow effective userwhoami
Window Resize Time ReadSystemshow window resize timedefaults read -g NSWindowResizeTime
Window Resize Time RestoreSystemrestore default window resize timedefaults delete -g NSWindowResizeTime
Window Resize Time SlowSystemrestore default window resize timedefaults write -g NSWindowResizeTime 2
xinetd.confSystemview extended Internet services daemon configuration filecat /etc/xinetd.conf
xinetd.dSystemview contents of /etc/xinetd.d directorycat /etc/xinetd.d/*
Zone Dump CurrentSystemshow current time in specified time zone (UTC used as example)zdump UTC
Zone Dump VerboseSystemshow minimum maximum and discontinuities for specified time zone (EET used as example)zdump -v EET

About | ACP | Buy | Industry Watch | Learning Curve | News | Products | Search | Substack
Copyright © Rixstep. All rights reserved.