Faster Search for Mac OS X using Terminal

Using Spotlight for file searches can be fast (even faster if you are using SSD) and it is also speedy to use the search field in the upper right corner of the Finder window, but there is an even faster way of searching through the files on your hard drive using Terminal.

In Terminal, you can use the Unix Command locate, this command relies on creating an index database for performing searches, much as Spotlight does, but the searches are much more efficient without the added operating system processes. However, when using this command, you must type the full filename and extension in order for it to find the queried file.

To set up an index database for Terminal in order to make locate command searches, simply type this command in Terminal:

sudo launchctl load -w /System/Library/LaunchDaemons/

It will take some time to build an index, but note that once this process is done, the index file will not include any files added afterwards unless you perform this command again to include the new files.

In addition to using locate, you can also use the command mdfind. This Terminal command is another form of a Spotlight search, which uses the central metadata store without you having to build a separate index file.

The command mdfind can be used in various ways that the command locate cannot be used. You can find a list of uses for mdfind at Apple's Mac OS X Developer Library.

Find LCD Panel Model Number for your MacBook or iMac

The latest release of the Macbook Air reportedly has two different manufacturers for its high resolution display. Many people are now trying to verify which make and model display they have.

You can determine the model number by typing (or copying and pasting) this lengthy Terminal command:

ioreg -lw0 | grep IODisplayEDID | sed "/[^<]*</s///" | xxd -p -r | strings -6

After executing the command you should receive a set of digits and numbers. If you want to determine the manufacturer of your display, simply take the model number generated in Terminal and type it into Google. Usually various OEM part listings will show the name of the brand for your particular LCD screen.

*Note: This may not work with older iMac computers. It has been confirmed to work with most MacBook, MacBook Pro, and MacBook Air machines.

Automatically fix the Clock Time on your Mac

Does your clock on your Mac occasionally display the incorrect time? This usually happens due to the battery and system hardware not syncing, thus there are lapses in the time count.

You can solve this problem by going to System Preferences, under the System pane go to Date & Time. Once there, check the "Set date and time automatically" box. Now you should be fully synced if and when you have an internet connection.

Change Name or Names on Mac Login Screen

In System Preferences you can easily change the name that appears next to your login picture on the screen when you first start your Mac computer.

Follow these few steps:

First, go into System Preferences, and then under Accounts you will see the field to change Full Name, this will change name that appears in black text next to the user icon before you log on.

What about the name that appears in gray under Mac OS X that reads "Blank's MacBook" or "Blank's iMac"? There is also a way to change this, but it is less obvious than the other name change. Here is what to do:

Go to System Preferences and choose Sharing, once you are there, you will see the field called Computer Name, in this space you can simply replace the first part or all of the text depending on what you want to appear when your system turns on.