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
1  
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
show 6 more comments

132 Answers 132

In any Finder window or Open/Save dialog, you can hit ++G (just '/' also works in Open/Save) to get a location bar from which you can directly type in the directory to go to. It even supports ~ for home and tab completion.

The Open/Save dialog has several other useful shortcuts:

  • + R - Reveals the selected item in a new Finder window.
  • + I - Info window shows for the selected item.
  • + D - selects the Desktop folder as a destination
  • + + L - selects ~/Download folder as a destination
  • + F - cursor jumps to the Find text field
  • + . - Cancels and closes the dialog window
  • + + > - Shows/Hides hidden files in the dialog
share|improve this answer
2  
nice one! this has been bugging me for awhile now... –  Robert S Ciaccio Sep 13 '10 at 10:53
67  
Typing / or ~ in an open/save dialog will also trigger the file path text field to appear. –  John Siracusa Sep 14 '10 at 18:09
3  
This basically works like the command line cd command. Type /... to go to absolute paths, ~/... for paths relative to the user directory and ... for directories relative to the current directory. Great for opening hidden directories. –  deceze Sep 27 '10 at 3:21
show 2 more comments

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
show 1 more comment

In an any Open/Save dialog, you can use Quicksilver to quickly find the desired file or folder and just drag it anywhere into the file dialog, sendig the file chooser directly to that location. [Enter] will do the rest.

(While not included in OSX, I assume, that the majority of users interested in this thread do run Quicksilver.app)

share|improve this answer
add comment

If you need to type an accented letter like "é" or "ñ" just press and hold the corresponding letter on your keyboard and a little popup will appear with numbered letters with accents. You can also click the letter of your choice.

enter image description here

share|improve this answer
show 1 more comment

When +clicking on an open app in the Dock the application hides.

share|improve this answer
5  
I have this behaviour when I hold the Alt key instead. –  Rabskatran Apr 6 '11 at 10:42
1  
It is Option/Alt key, not Shift. –  styfle May 20 '11 at 23:32
show 2 more comments

Target Disk Mode lets you mount a Firewire-enabled Mac as an external disk, without even booting into the OS. Useful for quick transfers, large transfers (it's quite fast), recovery, etc.

To start it, hold T during startup.

share|improve this answer
show 1 more comment

Hold ctrl and move the scroll wheel (or use two fingers on trackpad). It will zoom in the entire screen.

share|improve this answer
3  
I use it occasionally. I wished it was possible to disable antialiasing... To count pixels ;) –  Vincent Apr 8 '11 at 23:10
8  
@Vincent you can disable AA in Mac OS X 10.7+ by going to System Preferences -> Accessibility -> Zoom -> Un-tick "Smooth Images". As XAleXOwnZX says, it used to be a very handy shortcut key for pixel-counting graphic designers, I want it back. –  simeon Jun 24 '13 at 4:16
show 6 more comments

Want tab to go to every field on a form not just input fields?

I got sick of the state/country drop down fields of web forms being skipped when tabbing.

Go to System Preferences → Keyboard and set Full Keyboard Access to All Controls.

alt text

share|improve this answer
5  
I cannot live without this...absolutely essential! –  Lizzan Oct 9 '10 at 13:01
12  
I don't understand rationale behind "Text boxes and lists only" setting being default. –  Peter Štibraný Nov 2 '10 at 5:40
1  
Ah THAT's where it is! I set it in OS 10.4 and haven't been able to find it since! thanks :) –  Mark Pim Apr 5 '11 at 7:50
1  
It's a trade-off. I find it more irritating than helpful because it often makes it lots more keystrokes to get to the text boxes. –  Old Pro Apr 27 '12 at 23:12
show 5 more comments

You can increase or decrease your volume by quarter increments by Pressing:

+ + Volume Up/Down

The same also works for brightness.


Note that this feature was disabled in Mac OS X Lion from 10.7 through 10.7.3. This feature was restored in 10.7.4. For workarounds on how to accomplish this on earlier Lion versions, see this question.

share|improve this answer
58  
Related to this tip, option+any volume key will open the sound system preference pane, and shift+vol up/down will change volume silently (without the little plink sound.) –  ghoppe Sep 9 '10 at 20:38
13  
Following up on ghoppe, if you've turned off the preference for the little plink sound using Shift + Volume Up/Down will change the volume with the sound effects. –  Matthew Shanley Sep 14 '10 at 17:58
8  
This works for the screen brightness as well: Option + Shift + Brightness Up/Down –  Florin Sep 18 '10 at 10:57
1  
I think I love you. –  titaniumdecoy Apr 9 '11 at 8:24
8  
If you want the tiniest little bit of sound, you can turn the sound all the way down with "Volume Down" and then hit the "Mute" key to turn it up just a little bit. –  Ted Naleid Apr 9 '11 at 19:17
show 3 more comments

Pressing +fn will bring up the System Preference panel for that key. Here's a list:

  • +Brightness: Displays
  • +Exposé/Dashboard: Exposé and Spaces
  • +Mute/Volume: Sound
  • +Keyboard Brightness: Keyboard (for Macs with backlit keyboards)

Remember that if you have checked the option to use F1, F2, etc. keys as standard function keys, done in System Preferences>Keyboard, then you will need to add the fn to the afore mentioned sequences.

share|improve this answer
add comment

Probably the most used shortcut I created on my machine is one to hide and show hidden files.

I've set this up via an AppleScript on my machine with a keyboard shortcut of ^ + + + . which toggles the visibility of hidden files within Finder whenever I want. This way I don't have to manually run a terminal command to show hidden files, and I can quickly turn it off to avoid accidentally modifying system files. I use FastScripts to allow me to set the keyboard shortcut for my AppleScript, and placed the AppleScript in my ~/Library/Scripts Folder.

Here is the AppleScript in case you wish to give it a try:

tell application "System Events"

    set hiddenFilesDisplayStatus to do shell script "defaults read com.apple.finder AppleShowAllFiles"
    set hiddenFilesNewDisplayStatus to "NO"

    if hiddenFilesDisplayStatus is "NO" then
        set hiddenFilesNewDisplayStatus to "YES"
    end if

    do shell script "defaults write com.apple.finder AppleShowAllFiles " & hiddenFilesNewDisplayStatus
    do shell script "killall Finder"

end tell
share|improve this answer
add comment

While typing, just press F5 to get suggestions for what you're typing (almost equivalent to spell-check suggestions). Example:

alt text

share|improve this answer
9  
OH MY GOD THIS IS AMAZING. I had no idea this existed! –  David Pearce Dec 30 '10 at 12:10
9  
Or for MacBooks where to press F5 you have to press the Fn key as well, you could just use the Esc button. (This is cool though, thanks for bringing it to my attention :)) –  Jonathan. Jan 9 '11 at 18:19
5  
Esc works too, but it more unsafe due to Esc usually having another function. But it works :). –  Jason Salaz Mar 12 '11 at 1:46
1  
I love this one!! –  daviesgeek Sep 6 '11 at 2:07
show 1 more comment

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
show 1 more comment

You can prevent app from appearing in Dock by editing .app/Contents/Info.plist. Just add

<key>LSUIElement</key>
<true/>
share|improve this answer
add comment

In Finder, select any number of files. Press + ctrl + N to automatically have them moved to a new folder.

Great if you forgot to create a new folder before selecting files, and in general.

share|improve this answer
add comment

Secrets is a database with a huge amount of hidden settings for both the system and some common applications.

share|improve this answer
add comment

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
add comment

Remember the double-sided arrows on both the top and bottom of the scroll column in OS 9? Go to the terminal and type:

defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth

When you login/restart, this will work across all applications. Very handy to have.

share|improve this answer
add comment

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
show 1 more comment

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
show 1 more comment

Hide an Application While Cmd-Tabbing

As you're Cmd-Tabbing through applications, you can pause on an app (while still holding Cmd) and then press 'h' to hide the other app. You aren't switched to the hidden app, so your focus stays on the original one.

share|improve this answer
add comment

In the terminal, you can pipe the output of any command to pbcopy to copy it to the system clipboard. You can also paste from the system clipboard using pbpaste, and pipe that to another command or write the value directly to a file:

Copy a string: echo "ohai im in ur clipboardz" | pbcopy

Copy the HTML of StackOverflow.com: curl "http://stackoverflow.com/" | pbcopy

Open a new buffer in VIM, initialized to the content of the clipboard: pbpaste | vim -

Save the contents of the clipboard directly to a file: pbpaste > newfile.txt

share|improve this answer
3  
Dude… vi !== vim –  Mathias Bynens Apr 12 '11 at 9:31
8  
@Mathias while true, on OS X vi seems to actually be a symlink to vim. –  spacemanaki Apr 13 '11 at 1:17
21  
You can also use this to turn rich text (HTML/RTF/etc) into plain-text; just "pbpaste | pbcopy". –  caelyx Apr 13 '11 at 23:40
5  
@caelyx You can use the keyboard shortcut Command + Shift + Option + v to paste plain-text if you have rich-text in your clipboard. –  Buzzy Jun 24 '13 at 9:22
show 5 more comments

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
show 1 more comment

While Cmd tabbing between applications, without releasing CMD, you can hit 'Q' to quit or 'H' to hide the selected application. Works great with the mouse to get rid of a whole bunch of applications quickly.

The bevel won't go away and you can repeat this for as many applications as you like as long as you're holding CMD.

share|improve this answer
1  
Nice one! Really saves precious seconds. –  Jonik Sep 17 '10 at 13:30
show 6 more comments

In iTunes pressing + L brings you to the song playing right now.

Helpful if you lost yourself in your collection or are in iTunes Store and want to change something real quick.

Very useful in combination with + I to show the details of the currently playing song.

share|improve this answer
add comment

Here's one I learned a long time ago, still works today.

Keyboard shortcut for proper single and double quotes:

Single Quotes

  1. For Left ( ) press: Alt + ]
  2. For Right ( ) press: Alt + Shift + ]

Double Quotes

  1. For Left ( ) press: Alt + [
  2. For Right ( ) Alt + Shift + [
share|improve this answer
1  
nice one, I didn't know that –  Am1rr3zA Jun 25 '13 at 18:54
add comment

Show the full directory path in the Finder window.

In the Terminal, run this:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Then, run this.

killall Finder

There are all sorts of hidden defaults that can be mucked around with but this is my absolute favorite because now no matter which window I am looking at, I know exactly where I am.

You should also check out TinkerTool for other hidden settings.

share|improve this answer
1  
I just test this, WOW I really love this one. –  Am1rr3zA Jan 31 '11 at 17:23
show 4 more comments

When I first switched to Mac a couple of years back, I was using it full time for nearly six months before someone showed me +space to bring up the Spotlight Search. Single best shortcut I've learned.

The Spotlight search field can also handle simple mathematical expressions. No need for Calculator.app for a quick bit of division!

share|improve this answer
2  
I use this shortcut all the time for quick lookup of English word definitions (from the built-in New Oxford American Dictionary) –  Jonik Sep 14 '10 at 21:14
2  
I use Alfred instead, I should try spotlight if it remembers things liek Alfred does. –  Dmitriy Likhten Sep 28 '11 at 20:20
2  
Isn't the default keyboard command Ctrl+Space in recent versions of OS X? –  yusf Apr 12 '12 at 17:13
1  
@LessPop_MoreFizz It can even handle a bit more than simple division, try sqrt(10), cos(10) and so on. –  Emil Feb 7 '13 at 18:19
show 2 more comments

Most animations in OSX can be played in slow motion, when you hold . Works for example to slowly minimize windows if you click the minimize button while holding the key.

Other examples are:

  • toggle exposé
  • toggle dashboard
  • add/remove dashboard items
  • all kinds of animations in Twitter for Mac

From: http://www.eeggs.com/items/29318.html

In MacOS X, while in the finder, open any window & click the minimizie button (yellow) at the top of the window while holding shift.

This will minimize the window in slow motion using the new "genie effect" minimize function of Mac OS X.

The CEO of Apple has shown this egg publicly several times. However, this egg is undocumented & has no system menu equivalent to use this feature. Anyone who has NOT followed the development of Mac OSX & watched the demos at the MacWorld trade shows would not realize this somewhat useless feature exists in Mac OSX.

share|improve this answer
1  
The Shift trick can be used to slow down many kinds of animations, too. –  Josh Lee Oct 5 '10 at 18:10
6  
Even better: If you type killall Dock in Terminal, without hitting enter, do this, then go back to Terminal and hit enter, the Dock is quit while the window is minimizing, leaving it in its animated state until next time you minimize it. –  ughoavgfhw Mar 22 '11 at 19:49
show 3 more comments

Running

pmset noidle

or

caffeinate

in Terminal will prevent your Mac from sleeping. Press Ctrl+C to stop.

share|improve this answer
15  
Great tip! Also, Caffeine does the same thing but in a button in the menu bar, and can also prevent sleeping for a certain amount of time (and it's free). –  Ricket Nov 20 '10 at 0:22
5  
caffeinate was recently added.. man caffeinate for more info –  InChargeOfIT Jun 24 '13 at 7:42
show 1 more comment

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.