A Unix-based operating system developed and sold by Apple Inc. For Mac hardware questions, use [mac].

learn more… | top users | synonyms (4)

219
votes
6answers
200k 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 ...
188
votes
18answers
265k 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 ...
178
votes
25answers
168k 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 ...
165
votes
15answers
494k 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.
165
votes
9answers
331k 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 ...
164
votes
15answers
195k 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 ...
158
votes
3answers
7k views

On OS X, why does `sudo ls` show hidden (dot) files?

With OS X Yosemite, using the following commands, I get the following: $ touch .a $ touch b $ /bin/ls b $ /bin/ls -A .a b $ sudo /bin/ls .a b It shows hidden files (that have names starting with ...
158
votes
9answers
82k views

Mac OS X equivalent of the Ubuntu “tree” command

Is there any equivalent of the Ubuntu tree command for Mac OS X ?
152
votes
6answers
93k 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 ...
144
votes
3answers
59k 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 ...
130
votes
2answers
128k 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
118
votes
8answers
134k views

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

I type echo $PATH on the command line and get ...
110
votes
5answers
150k views

Permissions on private key in .ssh folder?

I changed my permissions in my .ssh folder and now when I use a piece of software that uses my private key, I have to type my password each time. What should my permissions be on my id_rsa file to ...
107
votes
2answers
71k views

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

How do you run a ssh server on Mac OS X?
106
votes
3answers
77k 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 ...
101
votes
6answers
222k views

How to uninstall Homebrew? (Mac OS X Package Manager)

I’ve got some problems with the package manager, Homebrew. I can’t find how to remove it! Is it safe to remove whole /usr/local? Homebrew was installed somewhere in that directory.
97
votes
3answers
51k 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 ...
92
votes
5answers
30k 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 ...
90
votes
13answers
56k 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?
88
votes
6answers
46k 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 ...
88
votes
3answers
50k 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 ...
87
votes
3answers
99k views

How to find out Mac OS X version from Terminal?

I know how to find Mac OS X version from GUI: Apple Menu (top left) > About This Mac Is there a Terminal command that will tell me Mac OS X version?
84
votes
6answers
97k 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 ...
82
votes
13answers
50k 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 ...
82
votes
7answers
42k 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 ...
82
votes
14answers
10k views

Is it possible to run Mac OS X in a virtual machine?

I'd love to be able to try Mac OS X in a VM, preferable on something shiny and new like KVM for linux. I'm a Linux and Windows person, but I would like to try out Mac OS X without ...
82
votes
7answers
53k 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?
80
votes
10answers
136k 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 ...
80
votes
4answers
109k 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 ...
78
votes
2answers
14k 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 ...
76
votes
8answers
9k 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 ...
75
votes
2answers
54k views

How do you re-install a package with Homebrew (Mac)?

Struggling to find good Homebrew documentation (or tutorial)... In the mean time I need to reinstall ImageMagick that was installed with Homebrew (brew install imagemagick) and not sure if I should ...
74
votes
12answers
76k 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 ...
73
votes
12answers
26k 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 ...
71
votes
4answers
30k views

How can I get control+left arrow to go back one word in iTerm2?

I was reading up in the Linux manual and I noticed that it said I could use control+left and control+right to move forward and back words in the terminal while editing. "Pressing Ctrl plus the ...
71
votes
12answers
104k views

What keyboard shortcuts move, resize, and maximize windows under Mac OS X?

I just checked http://en.wikipedia.org/wiki/Table%5Fof%5Fkeyboard%5Fshortcuts but the following "Window management" entries are blank for Mac OS X: Move the focused window Resize the focused window ...
70
votes
4answers
10k views

htop isn't returning CPU or memory usage!?

I think that top is great application to monitor a Linux system. I really like it, but top doesn't look so good on Mac. I know that Mac have a system monitor to do it, but I prefer using a terminal. ...
69
votes
8answers
92k views

What’s a good way to extract .rar files on the Mac? [closed]

Anything built-in? (E.g. command line tools.) Any well-regarded software? Update: I like The Unarchiver, but vote up your favourite, or add it as an answer if it isn’t there.
69
votes
3answers
25k views

What's like OSX's pbcopy for Linux

In a terminal in OSX I can pipe output to pbcopy and then go into a web browser and paste it. I tried this in Linux with xcopy but when I switch to the browser it just overwrites the clipboard with ...
69
votes
4answers
69k 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 ...
68
votes
6answers
72k 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?
68
votes
6answers
25k views

Mac Homebrew and Wireshark

I've installed Wireshark(.org) using Homebrew. brew install wireshark at the end the script says ==> ./configure --prefix=/usr/local/Cellar/wireshark/1.2.7 --disable-dependency-tracking ...
67
votes
5answers
55k 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 ...
67
votes
12answers
37k views

Why won't OS X trust GitHub's SSL certificate?

When I go to any github.com page in Chrome, I get a big ugly error: You attempted to reach github.com, but the server presented a certificate issued by an entity that is not trusted by your ...
66
votes
3answers
71k views

Is there a fix for the “Too many open files in system” error on OS X 10.7.1?

I need to get rid of the pesky "Too many open files in system" limit on OS X 10.7.1.  Is there a way?
65
votes
10answers
45k 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, +V ...
64
votes
6answers
73k views

How to use Mac OS X Keychain with SSH keys?

I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work. I have some RSA keys that I've generated ...
62
votes
4answers
14k views

How can my computer use 300% PC processing power?

I'm playing around with a script and well I got carried away (it's still running right now and yet my computer has not yet died). I'm running 17 iterations of the script (with the intention of ...
62
votes
13answers
46k views

Command-line application for converting SVG to PNG on Mac OS X

Are there any command-line programs that can convert an SVG to PNG, that run on Mac OS X? Edit: Dylan B had a good answer with ImageMagick. For reference, to install ImageMagick with SVG support on ...
62
votes
15answers
54k 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 ...