background preloader

Hack your Mac

Facebook Twitter

Change the hostname in Mac OS X [osx] « Larry Gordon. When I log into the network at my job my Mac’s hostname always turns to: I have my local hostname set to: larryx.local So What I would like to do is set my Mac’s hostname to my local hostname.

Change the hostname in Mac OS X [osx] « Larry Gordon

You can do this all from Terminal in a single line. Run this command in Terminal: sudo scutil --set HostName larryx.local This is also helpful if you’re in Terminal and have a really long hostname at your prompt. Update (February 13, 2012): Some people have reported that their hostname is not updating. This is what it looked like for me: Last login: Fri May 23 09:55:20 on ttys000 larryx:~ lgordon$ hostname larryx:~ lgordon$ sudo scutil --set HostName larryx.local Password: larryx:~ lgordon$ hostname larryx.local Care of: CodeSnippets Update (March 29, 2011): After making this post I never thought that this would have helped so many people out there.

Date May 23, 2008 Time 2:56 pm Category Tags. OS X Process Management: Guide to Activity Monitor. Written by Topher Kessler With UNIX having many tasks running simultaneously, through the years developers have incorporated several command-line tools that allow for live process management.

OS X Process Management: Guide to Activity Monitor

These include "top", "kill", "ps", "df", and "vm_stats", and are available in the BSD subsystem in OS X via the command line. Since these tools require knowledge of the Terminal (which I admit is one of the funnest aspect of OS X), Apple has compiled the function of these and similar tools into "Activity Monitor" to make process management more user-friendly. When you launch Activity Monitor (available by default in the "Utilities" folder), you can view the main window by pressing "command-1" or by selecting "Activity Monitor" from the "Window" menu. There are other windows for viewing immediate CPU usage and CPU usage history, but those are relatively self-explanatory so I will only briefly touch on them later.

The main Activity Monitor window is comprised of two sections. The Process List Section. EFI and SMC firmware updates for Intel-based Macs. Languages This article lists firmware updates that were released for Intel-based Macs.

EFI and SMC firmware updates for Intel-based Macs

They update the firmware that originally shipped from the factory. If your computer isn't on this list, then you don't need an update to the factory firmware. Some firmware updates for Intel-based Macs may not be displayed automatically using Software Update. If they don't appear in Software Update, they must be manually downloaded from the Apple Downloads site. Check your firmware version Check your computer's EFI Boot ROM or SMC firmware version. From the Apple () menu, choose About This Mac. Available firmware updates Use this table to find available firmware updates for your Intel-based Mac. Last Modified: Mar 7, 2014 One Moment Please. MagicPrefs.

How to Silence Your Computer's Startup Sound and Boot Like a Ninja. Top 15 Terminal Commands for Hidden Mac OS X Settings. Update: This article is very old.

Top 15 Terminal Commands for Hidden Mac OS X Settings

Most of the Terminal Commands still work, but consider checking out our top Terminal commands for Leopard and Snow Leopard. Our Terminal Tips category also has loads of other ways help you get the most out of your Mac. There are a huge amount of hidden settings for Mac OS X and its applications that aren't accessible from preferences dialog boxes or the System Preferences. Applications such as Tinkertool and Mac Pilot allow you to access some of these, but the real flexibility is from the Terminal. From here it is possible to edit any preferences file for any application on your Mac. You'll find the Terminal in the Utilities folder within the Applications folder. To reverse any of them, just repeat the command with NO at the end instead of YES, or vice versa. Feel free to add any of your favourites in the comments. Mac OS X: Creating a login hook. Did you know that you can have Mac OS X run a script whenever you log in to your computer?

Mac OS X: Creating a login hook

You can if you create a "login hook. " A login hook tells Mac OS X to execute a certain script when a user logs in. Unlike Startup Items that open when a user logs in, a login hook is a script that executes as root. This advanced article shows you how to set up a login hook. With a login hook: The script specified as a login hook must be executable. This article has been archived and is no longer updated by Apple. How to set up a login hook.