Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Do you know any hidden or little-known nice feature of Mac OS X? It doesn't matter what it is—maybe just a short terminal command or a keyboard shortcut. Share your experiences on hidden Mac OS X features with us..

Please post one tip per answer. Please also check to see if your answer has already been posted - duplicate answers will be deleted. To search answers for this question use inquestion:400 (or inquestion:this, directly from the question page) in addition to your search terms in the search box in the upper right hand corner of this page.

Also provide details on how to achieve that feature, and if possible, include a relevant image too!

share|improve this question
17  
mac.finerthingsin.com is a great source of hidden gems on the Mac. –  Philip Regan Aug 24 '10 at 23:35
2  
My collection of OS X tweaks (hidden or not) can be found here: mths.be/osx –  Mathias Bynens May 2 '13 at 18:43
1  
Does iOS count? I'm sure most people know, but if you pull the camera thingy on the lock screen in iOS 7 up about 2/3 of the screen and then quickly flick it back down again, it will bounce up high enough to trigger the camera! –  RPi Awesomeness Dec 27 '13 at 3:56

133 Answers 133

+ click on the title bar at the top of a Safari window to get a menu of URLs, each the same as the previous but with the last path component removed. Like this:

alt text

share|improve this answer

Hold down and click TimeMachine Icon in the menubar. Now you can search/restore from other backups

via @MacTip

share|improve this answer

Switcher + Exposé

(10.6+)

While +ing (holding , tapping ), you can press or to switch to the currently selected application's window Exposé view. You can then use the keyboard arrows to highlight a window and to switch to it.

share|improve this answer
  • Select a bunch of text and drag to the desktop and it will make a text clipping.
  • Drag it back to a text window and it will dump the text there.
  • Double-click and you can view the selectively copy for pasting elsewhere.
  • Install the quicklook extension and you can view text and pict clippings in quicklook.
share|improve this answer
2  
Quick Look in Lion handles both .textClipping and .pictClipping files with Apple-provided generators alone. –  Graham Perrin Aug 4 '11 at 20:49

Click and hold Show All in System Preferences, and you'll get a list of all Preferences panes

enter image description here

At the bottom of this list there is a Customize... option

enter image description here

which enables a check mark in the lower right corner of each Preferences panes item

enter image description here

un-checking a check mark, will disable/remove the item(s) from the view, but not delete it.

share|improve this answer
1  
Yeah I believe this is for Lion only. Nice tip though. –  Paul Eccles Aug 2 '11 at 20:26
1  
I had it posted on the Lion tips & tricks thread (now deleted from the thread) - apple.stackexchange.com/questions/18677/… - (I couldn't remember if it was possible on Snow Leopard) - BUT there this comment was written "This was in snow leopard as well" - so I don't now what right and wrong, because I don't have Snow Leopard anymore for testing - what I know is that it is working as described in Lion. –  Rene Larsen Aug 2 '11 at 22:29

You can change screen brightness in quarter intervals using this combination:

+ + Brightness Up / Down

share|improve this answer

+ ` (backtick accent) switches between multiple windows of the same app.

share|improve this answer

It’s possible to set a blazingly fast keyboard repeat rate, much faster than the maximum possible setting in System Preferences → Keyboard → Keyboard → Key Repeat.

The trick is to use this command in Terminal.app:

defaults write NSGlobalDomain KeyRepeat -int 0

After that, log out and back in, or just reopen all applications.

Disclaimer: This is just one of the many goodies in my .osx file.

share|improve this answer
1  
Best part of this is to navigate faster in text files, e.g. hjkl in visual mode in vi. –  Samet Atdag Jun 24 '13 at 15:16

The 'Open Terminal Here' applescript that can be added to the finder toolbar(?), is a great way of getting a shell prompt to the folder your are viewing.

The 'original' is at the pages of its author Marc Liyanage:

http://www.entropy.ch/software/applescript/

He kindly links to a number of other versions so you can take your pick.

The other side of the coin (though not worth it's own answer) is the command

open .

to open a finder window for the current shell folder.

share|improve this answer
2  
As of Mac OS X Lion 10.7, Terminal provides Services to do this. Enable New Terminal at Folder in System Preferences > Keyboard > Keyboard Shortcuts > Services. The quickest way to get there is to choose [Application Menu] > Services > Services Preferences…. There's also New Terminal Tab at Folder. These operate on folders in Finder, as well as pathnames selected in text in any application. You can also drag folders (and pathnames) onto the Terminal application icon in the Dock, or onto the tab bar of a terminal window to add a new tab. –  Chris Page Sep 4 '11 at 9:30

++ or ++ can be used to select the previous or next word.

share|improve this answer
1  
@Lri All posts in this tread are community wikis. That means that anyone can edit them to improve them. Why don't you make an edit with the correction? –  Nathan Greenstein Apr 14 '11 at 20:41

Often a simple spotlight query isn't enough.

The shortcut ++space brings up the powerful finder search window no matter what app is running.

Not only can you use the normal search types like kind:app or kind:mail but you can force spotlight to show you files that are normally hidden.

This is particularly useful to search for and inside hidden system files such as .ipsw packages, detailed logs and CoreServices utilities. search window showing hidden System Files

You may want to add System files to your default search menu for quicker access.

  • first click the circle plus to the far right of the Save button to show the optional search filters
  • then choose other under the Kind dropdown
  • lastly search for System and check the include toggle. choose the "other" itementer image description here
share|improve this answer

When switching focus between applications, you can hold down and click on another application. When you change focus from one application to another, the first application hides. So, let's say you are switching from an open Finder window to an open TextEdit window while holding the key. Finder will hide once you click on the TextEdit window. I discovered this by accident and it's pretty cool

share|improve this answer

By pressing + + + you can create the  - Symbol on a german keyboard.

The tilde-key btw is created by pressing +N for all those who searched `~´

For English (American) keyboards, the shortcut is: Option ⌥ + Shift ⇧ + K

share|improve this answer
2  
It's alt+shift+K on an English (American) keyboard. –  Ricket Nov 20 '10 at 0:43
 sudo purge

I use this all the time for freeing unused memory on my Mac.

share|improve this answer
3  
From man purge: “force disk cache to be purged (flushed and emptied). Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis. It does not affect anonymous memory that has been allocated through malloc, vm_allocate, etc.” –  Mathias Bynens Mar 26 '12 at 7:44
3  
To put it more bluntly, purge-ing your disk caches can actually slow you down. –  zigg Jul 4 '13 at 22:43

Want to move back and forth through your navigation history? Most apps, including Safari and Finder, let you use the following shortcuts:

+[ to move back.
+] to move forward.

share|improve this answer

I love the DigitalColor Meter application (in /Applications/Utilities) for finding the color of something on screen (especially useful for web development). cmd + shift + h to lock/hold the color you're on, ++c to copy the value as RGB Hex value.

share|improve this answer

While you are using + to cycle through open applications, you can press Q before you release to close the app. You can close several apps before release .

share|improve this answer

LaTex from Grapher:

enter image description here

share|improve this answer

You can access the file, edit and other application menus with the "move focus to the menu bar" setting in Keyboard Preferences. I changed it from the default to ctrl ` as the default merely adjusted brightness.

No-one at Apple seemed to be able to let me know how to do this!

enter image description here

share|improve this answer

In Terminal, if you hold option, your cursor turns into a small "+". While holding option, you can use this to highlight and copy any square/rectangular area of text instead of whole lines at a time.

share|improve this answer

To quickly lock your computer with a screen-saver style password, regardless of whether a password or time delay is set in the Security preference pane, enable the keychain status menu item and use its Lock Screen command. To enable it, open the Keychain Access utility, choose Preferences… from the Keychain Access menu, and enable "Show Status in Menu Bar" from the General pane.

Keychain status menu item with lock screen command

share|improve this answer
2  
@bot47 Not exactly the same. Ctrl-Shift-Eject simply puts the display to sleep. Therefore (1) the password lock does not kick in until the Security time delay is reached (if password is even enabled in the first place) and (2) the display goes to sleep instead of screen saver mode, which as of Lion requires a keyboard button press or mouse click to awaken and takes slightly longer to respond to user input. –  PCheese Nov 9 '11 at 0:52

3rd party apps can add unwanted items to your right click menus! To add or remove items from the right click contextual menus: Go to System Preferences -> Keyboard -> Keyboard Shortcuts. Select the "Services" panel and uncheck the services which you don't need. enter image description here

share|improve this answer

When resizing columns in Finder, hold down whilst dragging, and you'll resize all columns and reset the default width.

share|improve this answer

Ever wanted to stop the iTunes visualizer at that really cool moment and take a picture? In iTunes 10 (and previous versions really) you can control what your visualizer is doing. You need to have a song playing to notice changes.

Simply press the ? key to see a help menu of the controls. On most visualizers press f to see the current FPS. (all except the default)

To freeze the default iTunes visualizer press F to freeze the mode, then press L to freeze the camera. Now that your visualizer is completely stopped, press M to change the mode. Turn the fog on and off with N (only works with certain themes). Change the color palette with P before freezing the mode or locking the camera or it has no effect. + F for full screen, then ++3 for full screen grab.

Viola, instant custom desktop pattern!

share|improve this answer

In iTunes, it’s possible to make + F focus the search input instead of toggling the full screen mode.

Simply enter this command in Terminal.app:

defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"

Then, restart iTunes.

Disclaimer: This is just one of the many goodies in my .osx file.

share|improve this answer

I searched through all 5 pages of this thread and I'm surprised to find that nobody already mentioned this handy tip for Terminal.app:

Press ctrl+R to bring up a search through your command history. It's a somewhat fuzzy search in that what you're typing doesn't have to be the initial characters of a command, but it still must be a contiguous section of the command.

For example, you could find a previous usage of curl by typing "rl" in the search... or "post" if the curl command you want to find was a POST.

You can also use the Up & Down arrows to flip through just the matching commands in your history.

share|improve this answer

Holding lets you drag icons in your menu bar to reorder them. Dragging them out of the menu bar removes them.

All of the built-in icons support this behavior, but most third-party apps don't.

share|improve this answer

In order to navigate with the keyboard in the menu bar, press ctrl+F2. The Apple icon in the menu bar will light up, and you can navigate through the menus using arrows and the key.

Once you are in the menu bar you can also navigate using initial letters, e.g. b to go to Bookmarks

share|improve this answer

You can play tetris in Terminal:

When you are in Terminal type emacs and hit enter. After that press escape button and X button at the same time. Now just type tetris and hit enter.

Same goes for pong, 5x5, snake, tetris, dunnet and blackbox, just type its name instead of tetris

Source: http://secretpctips.com/2011/04/mac-os-secrets-easter-eggs/

share|improve this answer
3  
Not really a OS X tip, but an emacs tip. –  claytron Apr 20 '11 at 19:52

I prefer using the keyboard. Some shortcuts that kind of work together in Finder:

  • + = Go to parent directory
  • + = Open selected directory/file
  • + 2 = Clean up by type (see navigation bar for all the alternatives)

And something I use all the time:

When copy-pasting, + v (normal copy-pasting, but adding the option key when pasting) will move the file instead of copying it.

share|improve this answer
1  
I really liked the copy pasting part –  Am1rr3zA Jul 29 '13 at 4:56

protected by bmike Jan 23 '13 at 23:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.