Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [macos]

macOS is the current marketing name for Apple's Macintosh Operating System. This OS was previously known as OS X, and Mac OS X before that (which itself succeeded the 'classic' Mac OS).

569
votes
150answers
325k views

Please share your hidden macOS features or tips and tricks

Do you know any hidden or little-known nice feature of macOS (née Mac OS X)? It doesn't matter what it is—maybe just a short terminal command or a keyboard shortcut. Share your experiences on ...
405
votes
133answers
235k views

Got any tips or tricks for Terminal in Mac OS X?

One tip or trick per answer. My favorite is open . Opens the folder you're currently browsing in Finder. You can also pass URLs, images, documents or else to open. If you specify a program name ...
368
votes
7answers
265k views

How do I recompile Bash to avoid Shellshock (the remote exploit CVE-2014-6271 and CVE-2014-7169)?

Given that Bash 3.2 (the version shipped by OS X) is vulnerable to the remote execution exploit known as "Shell Shock" (CVE-2014-6271 and CVE-2014-7169) how do I rebuild Bash and secure my system ...
328
votes
10answers
243k views

How can I configure Mac Terminal to have color ls output?

How can I configure Mac Terminal to have color ls output? I am using MacOS 10.5
324
votes
5answers
460k views

How can I create a symbolic link in Terminal?

What command is used to create a symbolic link/soft link?
296
votes
9answers
103k views

Remap “Home” and “End” to beginning and end of line

Most of my computing time is spent in Linux (with occasional time in Windows). On these platforms the Home and End keys universally jump to the beginning or end of the current line. I am gradually ...
275
votes
7answers
126k views

“File Open” dialog is missing sidebar items

I'm having the strangest issue since updating to OS X El Capitan. My "Open File" dialogs show the sidebar but all my main (and useful) locations are missing. Take a look at this screenshot. This ...
267
votes
3answers
1.5m views

How to Retrieve the Wi-Fi Password of a Connected Network on a Mac

I need to find the password for a Wi-Fi network that I am already connected to. I'm using a MacBook Pro that's running OS X Lion. Any guidance is appreciated.
264
votes
5answers
91k views

How can I disable animation when switching desktops in Lion?

I would very much like to disable the sliding animation that occurs when switching desktops via ctrl+→/← or ctrl+[number] in Lion. This was previously accomplished in previous versions ...
249
votes
3answers
169k views

Hotkey to show hidden files and folders in File Open dialog?

This question is very similar to Is it possible to always show hidden/dotfiles in Open/Save dialogs?. How to show hidden files and folders in finder? is also related. However, I don't want to always ...
232
votes
3answers
150k views

What is the “rootless” feature in El Capitan, really?

I have just learned about the "Rootless" feature in El Capitan, and I am hearing things like "There is no root user", "Nothing can modify /System" and "The world will end because we can't get root". ...
228
votes
7answers
125k views

Make the green full screen window icon on Yosemite maximize windows

On Mac OS X Yosemite the green icon in every window: is by default used to make the application full screen. How do I make it work the same way as in previous versions of Mac OS X, i.e. to maximize ...
226
votes
8answers
483k views

How to change computer name so terminal displays it in Mac OS X Mountain Lion? [duplicate]

When I setup my computer I named it "Scott's MacBook Pro". And so when I go to System preferences->Sharing, it says Scott's MacBook Pro there as my computer name. However, opening up a terminal gives ...
207
votes
10answers
188k views

Shortcut for toggling between different windows of same app?

I opened two Google Chrome windows (because I am using multiple Gmails) and when I do the Cmd ⌘ Tab ⇥ shortcut it just shows me other applications that I opened but does not show me the other Chrome ...
201
votes
8answers
642k views

How can I manually delete old backups to free space for Time Machine?

I use a Time Capsule for backup and now I want the drive to back up data from an extra Mac. But the drive is filled up with old backups from Mac 1. There simply is not enough space available for the ...
183
votes
5answers
77k views

Applications Don't Show Up in Spotlight

Spotlight has stopped showing any results for my Applications. I've tried reindexing and removing the index so it rebuilds it. No change. I've tried adding Applications to the Privacy tab and removing ...
181
votes
239answers
45k views

Which OS X Applications do you find indispensable?

Please Search Prior To Posting! There are many applications already listed. In all likelihood, this includes the one you are thinking of. Please check the existing answers to avoid duplicates, and ...
178
votes
5answers
102k views

How to fix brew after OSX upgrade to Yosemite?

I faced some issue with Homebrew. I upgraded to Yosemite. After the upgrade, homebrew seems to be broken. I would run any brew command and get this error /usr/local/bin/brew: /usr/local/Library/brew....
177
votes
26answers
56k views

Is there a quick way to lock my Mac?

On Windows you can hit the keys Windows+L to lock your computer if you step away. I don't want to have to remember if sleep currently asks for a password, if there is a time out where my screen isn't ...
176
votes
107answers
54k views

What tiny thing in Lion makes you smile or has caught you off guard?

I would like to call for a place to list some little things that surprise you about Lion. There are so many articles and lists of all the new features with information overload, I would rather focus ...
175
votes
16answers
462k views

How to combine two images into one on a Mac?

Say I have two photos (or any images), for example with the following dimensions: +----------+ +----------+ | | | | | | | | |320 x 428 | and |...
168
votes
13answers
166k views

What do I type to produce the command symbol (⌘) in Mac OS X?

What combination of keys do I press to produce the command symbol (⌘) on Mac OS X? (I copied the above symbol from http://en.wikipedia.org/wiki/Command_key.)
163
votes
12answers
248k views

How do I downgrade node or install a specific previous version using homebrew?

I'm using brew. I have node installed, using brew. I want to use an earlier version of node. Online, I find instructions such as, for example: cd /usr/local/Library/Formula brew remove node --force ...
151
votes
5answers
294k views

Can I open files in TextEdit from the Terminal in Mac OS X?

I frequently find that a Terminal command to open a file in TextEdit would be very handy. Does such a command exist on Mac OS X?
148
votes
13answers
63k views

Keyboard shortcut for restoring applications from the Mac OS X Dock?

Is there a keyboard shortcut to restore a minimised application window from the Dock? Almost all Apple Mac OS X applications respond to the Apple + M command which minimises the current application ...
145
votes
6answers
308k views

How do I disable System Integrity Protection (SIP) AKA “rootless” on macOs [OS X]

Apple has introduced System Integrity Protection, also known as "rootless", with OS X 10.11, El Capitan. I understand this is a step for general protection against malware but as a developer I need ...
142
votes
1answer
41k views

How to prevent Mac from changing the order of Desktops/Spaces

You may have encountered a situation in which Mac changes the order of desktops based on some events like alerts on a program or a web page in browser. How could I disable this logical change? Note: ...
142
votes
1answer
196k views

How do I launch Finder from terminal or command line [duplicate]

I use command line a lot, like most programmers. I want to be able to launch Finder, Safari or any other application for that matter from command line e.g. finder . where it will start Finder ...
141
votes
5answers
59k views

Open Finder window from current Terminal location?

If I am in a specific path in a Terminal window, how can I open that same window in a new Finder window? Note: This is the opposite of opening a Terminal from Finder.
137
votes
12answers
177k views

Why are dot underscore ._ files created, and how can I avoid them?

I am using different operating systems on different machines on different locations. I am using a USB flash disk to keep my files (source codes etc.). I am new to Mac OS X and now I realize there are ...
134
votes
7answers
100k views

How to simulate slow internet connections on the mac

What's a good software solution to slow down internet connections on the mac for testing and simulations? My primary need is when testing code in the iPhone / iOS simulator, so slowing down the ...
134
votes
3answers
82k views

How can I make Safari show the URL when I hover over a link?

Safari 5.0.1 on OS X Snow Leopard (10.6) doesn't seem to have any status bar in which the URL of a link shows when the user moves the cursor over a link (without clicking) All other browsers I've ...
130
votes
9answers
264k views

Where can I find the installed package path via brew

I installed some packages via brew. But I can not find where they are. I can not get access by typing hping on terminal % brew install hping (git)-[master] Warning: hping-3.20051105 already ...
128
votes
10answers
269k views

How can I mount an ext4 file system on OS X?

Is there a safe, stable application for reading from and writing to ext4 file systems on Mac OS X? If not, what's the best way to access the contents of an ext4 file system on Mac OS&...
127
votes
10answers
137k views

WindowServer high CPU on Yosemite

This is a follow up to So my Yosemite install is slow - what to do? Since installing Yosemite a week or so ago my machine is very sluggish. I am a web developer so I change windows/apps a lot. ...
126
votes
8answers
175k views

How can I find color codes on Mac?

I used to find color codes which I want to use for texts or background colors on htmls with color edit tool of MS paint which pre-installed on Windows. But now I use Mac instead of Windows. How can I ...
125
votes
5answers
32k views

Task Switcher moves to non-primary display on Mavericks

I'm running OS X Mavericks on a computer with two displays that are not mirrored. One of them is configured as the primary display using the menu bar location in Displays System Preference, pre-...
122
votes
6answers
157k views

What is installd, and why is it eating my CPU?

My Macbook is frying my lap, and the CPU monitor is going crazy: over 200% CPU being used by something called "installd". What is it? Can I kill it? (OS X 10.8.)
118
votes
20answers
135k views

How to stop OS X from writing Spotlight and Trash files to memory cards and USB sticks?

When plugging a USB stick into a Mac, OS X creates a number of hidden files on the stick, including a Spotlight index and Trash folder. Example from the terminal for a USB stick "Untitled": $ ls -a /...
118
votes
2answers
163k views

How to investigate high kernel task memory usage?

I was using my MBP (with 16GB of RAM) as usual and out of blue I've this popup that: Your system has run out of application memory. To avoid problems with your computer, quit any applications ...
116
votes
5answers
193k views

Can I get the CPU temperature and fan speed from the command line in OS X?

Is there a command I can run from the command line in OS X to get the current CPU temperature and/or the fan speed(s)? To be more specific, I'd like to be able to get the same info available in the ...
116
votes
11answers
1.5m views

Ctrl + Alt + Delete: Mac Equivalent?

Ctrl + Alt + Delete on Windows provides a variety of functions, the main one of interest being the Task Manager. Is there an equivalent keyboard shortcut & indeed Task Manager for carrying out ...
115
votes
12answers
163k views

How to use pip after the OS X El Capitan upgrade?

After the El Capitan update, I am unable to run pip install. The error I get is that the "operation is not permitted" when pip tries to create new folders while installing. creating /System/Library/...
114
votes
14answers
53k views

How to move files to trash from command line?

I do a lot of terminal work, and today had the experience of typing rm fileInQuestion.txt Before finding out that I did actually need fileInQuestion.txt. If I'd deleted in the GUI then I would have ...
113
votes
10answers
70k views

Why is it not possible to use the “cut” command to manipulate a file in the Finder?

On OS X 10.6 (Snow Leopard), I don't seem to be able to us the "Cut" command on a file in the Finder, like you can do in Windows Explorer on Microsoft Windows. (In Windows, once you select a file and "...
113
votes
14answers
102k views

runaway distnoted process

Sometimes I see a distnoted process suddenly spin up and chew up 100% CPU (on one core) and a ton of memory, often in the neighborhood of 1.5G or so. This happens a few times a day, starting a month ...
112
votes
6answers
110k views

How to turn off all animations on OS X

Is it possible to turn off all animations on OS X?
109
votes
25answers
188k views

OS X Terminal “must have” utilities [closed]

I've just read with pleasure, and learned a lot from these questions : OS X Terminal Tips and Tricks OS X Hidden features and nice tips & tricks OS X Applications you can't live without But I ...
109
votes
6answers
126k views

How can I keep my Mac awake AND locked?

I want to leave my Mac awake overnight so it syncs 4GB of data from Dropbox. I need to prevent the machine from going to sleep because that pauses the Dropbox sync I've been using Caffeine to keep ...
108
votes
31answers
261k views

Can anyone recommend an app for creating flowcharts and diagrams?

I'm seeking a Mac app for creating basic flowcharts and similar diagrams. Google has been no help; I've followed dozens of links to apps that either don't exist anymore, I can't find any real ...