OS X is a Unix-based operating system developed, marketed, and sold by Apple Inc.

learn more… | top users | synonyms (4)

123
votes
24answers
114k views

What can I do to stop the Play / Pause button from opening iTunes?

In Snow Leopard the Play / Pause media button (on the F8 key) opens up iTunes. How can I disable that? Preferably keeping the old Leopard behaviour, so I can use it to control other media applications ...
103
votes
9answers
112k views

Where does $PATH get set in OS X 10.6 Snow Leopard?

I type echo $PATH on the command line and get ...
103
votes
9answers
166k views

Mac OS X: Best Way to Make an ISO from a CD or DVD

Both command-line and screen-oriented pointers appreciated! update: I verified the disk utility, hdiutil, and dd methods. dd seems the fastest, 30 minutes on my macbook pro vs. 40 minutes for ...
95
votes
3answers
73k views

Why does MDS run wild in Mac OS X 10.6?

I've been having trouble with the MDS process running wild on my MacBook Pro 13". I've read on other support forums indicating that improperly formatted external drives can be an issue, but I have no ...
85
votes
15answers
83k views

Looking for HTTP debugging proxy for Mac similar to Fiddler on Windows [closed]

In previous jobs when I've worked on a Windows machine, I've used Fiddler for viewing HTTP transactions and debugging. I'm specifically looking to monitor the HTTP transactions for an ajax site I'm ...
84
votes
2answers
71k views

How to add user to a group from Mac OS X command line?

trying to add a user to a group from the command line but can't figure out how? Specifically this is on Mac OS X Server 10.5.8 like to add user to 'admin' and 'wheel' groups
75
votes
13answers
110k views

Move an off-screen window back on-screen on Mac OS X

It seems that Mac OS X 10.6.1 Snow Leopard has a tendency to leave some windows off-screen at times, especially when I disconnect an external monitor from my MacBook. How can I move the window back ...
74
votes
3answers
30k views

What's the equivalent of Linux's updatedb command for the Mac?

If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the ...
74
votes
8answers
77k views

In Mac OS, what is the keyboard shortcut to switch between windows of the same application?

I often use the Cmd+Tab shortcut to switch between different applications (for example: Xcode and Google Chrome), but is there a shortcut to switch between different windows of the same application ...
69
votes
8answers
5k views

How can a computer/OS tell what kind of RAM is in the machine?

How can Mac OS X tell what kind of RAM is in the machine? For example I was working on one that had DDR3 RAM @ 1600MHz and I thought it wasn't possible to know the RAM without physically opening the ...
66
votes
12answers
40k views

How to get git-completion.bash to work on Mac OS X?

I have followed http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without to add git-completion.bash to my /opt/local/etc/bash_completion.d/git-completion and I put ...
65
votes
2answers
45k views

How do you run a SSH server on Mac OS X?

How do you run a ssh server on Mac OS X?
64
votes
5answers
97k views

How to uninstall homebrew? (OSX Package Manager)

I've got some problems with this package manager. I can't find how to remove it! Is it safe to remove whole /usr/local? Homebrew was installed somewhere in that directory.
64
votes
3answers
41k views

“Google Software Update would like to control this computer…” What?

For the first time (that I've seen), some piece of Google's software updater is now asking for permission to control my computer. I couldn't find any other mention of this on the web, so I don't ...
62
votes
2answers
23k views

What is __MACOSX folder?

What are these __MACOSX folders I keep seeing in zip files made by people on OSX? Some take as much as 30% of the file. What program are producing these __MACOSX folder and how can mac users avoid ...
61
votes
12answers
20k views

Markdown Live Preview Editor?

I am currently using Textmate to create Markdown documents, but it requires me to press CtrlOptionCmd + P everytime I want to 'update' the Markdown output window. Essentially I am using it like a ...
54
votes
7answers
30k views

How do you prevent the dock from switching monitors in OSX Mavericks?

In Mavericks, Apple introduced a "feature" where if you hover at the bottom of any screen the dock pops up on that screen. This is disrupting my workflow as I am constantly having the dock pop up ...
52
votes
11answers
114k views

“Show desktop” keyboard shortcut in Mac OS X

I am using a MacBook Pro with Mac OS X 10.5. Is there a similar function to "show desktop" (shortcut is WindowsD) on a Mac?  It should hide all applications and show a clean desktop.
52
votes
6answers
57k views

How do I start apache in OSX Mountain Lion / Mavericks?

OSX Mountain Lion removed the GUI for web sharing, but apache is still installed. How do I start and stop the service? How do I get the service to automatically launch on startup?
52
votes
0answers
8k views

32 vs 64 bits… what's the big deal?

Why is it considered to be such a big deal to have a 64-bit computer? Why does it "change everything?" Why do applications need to be designed differently between 32- and 64-bit platforms? And, on ...
51
votes
9answers
63k views

How do I switch between Java 7 and Java 6 on OS X 10.8.2?

I am using Java SE 7 to program simple games for windows and mac, but I have to switch to java 6 to run games such as Minecraft on my computer. This used to work just fine before I updated to Mac OS X ...
51
votes
7answers
21k views

Mac OS X equivalent of the Ubuntu “tree” command

Is there any equivalent of the Ubuntu tree command for Mac OS X ?
51
votes
5answers
25k views

Using Ctrl-Tab to switch between tabs in Mac Terminal.app

How can I make Ctrl-Tab and Ctrl-Shift-Tab switch between tabs in Terminal.app on a Mac (OS 10.4 and 10.5 specifically)? This is how I switch tabs in Firefox and Aquamacs, and Command-Shift-[ and ...
51
votes
9answers
25k views

OS X: Base64 encode via command line

Is there a terminal command in Mac OS X which will base64 encode a file or stdin?
50
votes
5answers
49k views

How do I install ant on OS X Mavericks?

After upgrading to OS X 10.9 Mavericks, ant is no longer on my path. [126] 11:23:26 rkarl-mba-4:~/mobile-baselayer > ant zsh: permission denied: ant [126] 11:23:50 rkarl-mba-4:~/mobile-baselayer ...
48
votes
4answers
27k views

What's causing all the disk activity on OS X?

Occasionally my Macbook Pro will slow down as the hard drive clicks away endlessly. CPU load is low, but applications and menuitems are slow to respond. Is there a utility that can help me determine ...
48
votes
6answers
26k views

Why does terminal say: “You have mail”?

Any idea why my Mac terminal says: You have mail in /var/mail/lofye How can I make it stop saying that every time I open terminal?
47
votes
6answers
23k views

Keyboard shortcut to unhide or unminimize a window in OS X

I know how to Hide (Cmd+H) or Minimize (Cmd+M) a focused window in OS X, but I can't find a keyboard shortcut or even a menu item to restore, unhide, unminimize, or otherwise show a window that I've ...
46
votes
15answers
39k views

Untar, ungz, gz, tar - how do you remember all the useful options?

I am pretty sure I am not the only one with the following problem: every time I need to uncompress a file in *nix I can't remember all the switches, and end up googling it, which is surprizing ...
46
votes
9answers
350k views

How do I remove a MyBook's “WD SmartWare” virtual CD from my desktop?

I recently got a Western Digital MyBook external hard drive to enable Time Machine. It has its software installed on a "virtual CD" called "WD SmartWare" which shows up on the desktop any time the ...
45
votes
5answers
36k views

How can I stop Mac OS X overriding my hostname when I receive a DHCP request on Snow Leopard?

Whenever I go on a network where the DHCP server assigns hostnames then it overrides the settings I've set for my hostname on my Mac in the "Sharing" section of System Preferences. How do I stop this ...
44
votes
10answers
51k views

Switch between windows on Mac OS X?

On Windows when I do alt+tab I can switch between windows. If I have 5 firefox windows open then using alt+tab will switch between them. On my MacBook, cmd+tab switches between applications, not ...
44
votes
2answers
5k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
44
votes
5answers
26k views

How to disable Mac OS X from using swap when there still is “Inactive” memory?

A common phenomena in my day to day usage (and several other's according to various posts throughout the internet) of OS X, the system seems to become slow whenever there is no more "Free" memory ...
43
votes
4answers
45k views

How to selectively route network traffic through VPN on Mac OS X Leopard?

I don't want to send all my network traffic down to VPN when I'm connected to my company's network (via VPN) from home. For example, when I'm working from home, I would like to be able to backup all ...
42
votes
6answers
12k views

How to tab between buttons on an Mac OS X dialog box

I know that there has been a similar question asked here very recently, but I was wondering if it was possible to tab between buttons on default Mac OS X dialog boxes? I already have the "All ...
42
votes
2answers
30k views

Where can I find a list of all formulas available for homebrew?

Is there a way to get a list of all formulas (packages) I can install using homebrew for Mac OS X?
42
votes
5answers
5k views

Unable to use pbcopy while in tmux session

Running tmux 1.4 installed from ports on snow-leopard I am unable to use the built in OSX pbcopy command. Outside of tmux: > echo "abc" | pbcopy > echo $(pbpaste) # or using ^v abc But ...
40
votes
4answers
24k views

How can I get qmake on Mac OS X?

I'm trying to install QtiPlot on Mac OS X, but I can't compile it since qmake isn't known. How can I install qmake on Mac OS X?
40
votes
8answers
24k views

How do I stop Apple Mail from opening because of iCal appointments?

I use only webbased Gmail for mail, but Mail.app keeps popping up as a result from iCal-appointments that have a e-mail reminder setting. I also get these reminders from Gmail anyway and I would like ...
40
votes
3answers
56k views

What is the “wheel” user in OS X?

I recently reinstalled iTunes and I noticed something peculiar. The "original" version of iTunes has a user in the permissions known as "wheel" that is set to "Read Only". I dragged this version of ...
40
votes
10answers
26k views

Copy-on-select, paste-on-middle-click on Mac OS X?

Is there a way to give OS X the usual X-windows behavior where selecting text in any application automatically copies it to the clipboard, and the middle mouse button automatically pastes it? ⌘-C, ...
39
votes
6answers
19k views

Mac OS X Terminal: mouse support?

Is there a native option (ie. without installing extra soft/package/plugins) to enable mouse support in the Terminal app? Actually, I'm using a lot vim with the option set mouse=a (activating mouse ...
39
votes
5answers
19k views

How can I change the keyboard shortcut for switching tabs in Mac Terminal?

I know that you can switch tabs with shift cmd [arrow key] in Mac Terminal, but it is painful to reach the arrow key. How can I change the default keybinding?
39
votes
4answers
6k views

How to install software packages on a Mac? (MacPorts, Fink, anything better?)

On my Mac OS X machine, how would you recommend I install command line software and other packages? I've been using MacPorts and it always seems quite slow, presumably because it has to compile the ...
39
votes
4answers
14k views

Is it safe to install both Homebrew and Macports on the same machine?

I have MacPorts installed on my iMac with a fair number of ports installed. I'm interested in trying out Homebrew, though, as I've heard many good things about it, and because I've noticed that it ...
38
votes
6answers
59k views

How to merge (and not replace) folders when copying on the Mac?

There's a similar question about windows. This is the same, but for mac. By the way, it's odd there's no question on this yet, since it seems like it's the most hated thing on Mac OS X. If I try ...
38
votes
2answers
6k views

Case insensitive tab completion in Bash

Is there any way to make Bash tab complete case insensitively? $ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) Copyright (C) 2007 Free Software Foundation, Inc. I am ...
38
votes
9answers
95k views

Is there a good tool for monitoring network activity on Mac OS X?

Is there a good bit of software on Mac OS X that I can use to monitor incoming and outgoing network activity? Nothing too geeky, I just want something simple to use. I'm on version 10.6 (Snow ...
38
votes
2answers
27k views

How do I pass command line arguments to Dock items?

I'm attempting to follow the instructions for pinning startup tabs in Chrome. On OS X how do I add command line arguments to items that persist in my dock?