Since my purchase of my new mac book I have been using the thing like crazy. As a result of me also developing on the Mac I have used the terminal quite often for my developing. Some of the terminal commands I have found have been quite useful, others are just plain fun. There’s one thing I am sure is that the developers of the Mac OS X operating system put a little fun into it and applaud them for that. I also would like to apologize because since my use of MAC I have been using it a lot for developing and not for some use that normal people might use it for, as a result this article is tailored for developers more. SO with out further wait heres some of my favorite terminal commands for Mac OS X leopard.
Mysterious Translucent Hidden Apps in Dock
defaults write com.apple.Dock showhidden -bool YES
This makes any application in the Dock that is hidden have a translucent icon. This is extremely helpful when you are developing and using hidden applications to do it. It allows me to quickly find the applications I am working with while developing. There is a down side though, their is NO WAY TO REVERSE this command so use at your own risk.
Widgets on the Desktop
This allows you to drag widgets out of Dashboard onto the desktop. Requires the dock to be relaunched to take effect, so type “killall Dock” and press enter. Now, if you click and hold onto a widget in the dashboard and press F12 to return to the desktop, the widget won’t disappear with the rest. Put NO at the end to reverse.
Now this has been an extremely helpful little trick. As a result I have been usign a lot of my apps sorta liek normal applications or like gadgets for Microsoft’s Vista operating system but its not all widget I put on the desktop are contained in one spot like on Vista and on mac I can move them around and keep some in the normal widgets display and some on the desktop.
System Stats at Login
defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo SystemVersion
Displays useful system stats in the login window. More details here. Replace “SystemVersion” with one of the following for different stats:
SystemBuild
SerialNumber
IPAddress
DSStatus
Time
HostName
This is a good terminal command to do especially if you are a developer and have a lot of mac or several and need to know which one you are working on.
Getting rid of Crash Notices
defaults write com.apple.CrashReporter DialogType none
Disables the unexpectedly quit dialog that normally appears when an application crashes. Replace “none” with “prompt” to enable again.
This is very helpful when you are testing out an application or fixing errors or bugs or are just trying out some alpha software.
Find the Hidden treasure in OS X
defaults write com.apple.finder AppleShowAllFiles TRUE
Shows hidden files in the finder. Replace TRUE with FALSE to hide hidden files again
Now you might not actually find hidden treasure in the hidden folder you see after you reboot but you might find a lot of stuff you haven’t seen before and can prove quite interesting. Please note though you must reboot before this will take in to affect like some of these commands, also please note that changing hidden files and folders can damage your system so use at risk.
THE VOICE OF THE MAC TERMINAL GHOST
say Hello
Replace hello with the word you want Mac OS X to say.
This is by far the most fun command I have found so far. This thing doesn’t just popup a little box saying hello, No it says it over your speakers and to a tune of a song to. Then combined this terminal command with Mac’s Automator app and then set your script to start at startup and you can create awesome welcome voice overs the I will show in a later video. This by far is the funniest terminal command ever, and is something that show truly how fun and awesome the MAC team is.
Now with the addition to the Mac to my computer I can say by far it is my most favorite system, as it might show in my future article too.
Got a question, comment, or a tip I missed, or would like to share some other tech stuff with me or ask a question contact me at anthony AT anthonykosednar DOT com
You may also find me on twitter at twitter.com/gamers600
My source for this article on how to use the commands and more about them for this article is http://www.macosxtips.co.uk/index_files/terminal-commands-for-hidden-mac-os-x-settings.html