Questions tagged [mac]

Mac is Apple's computer brand. Apple currently produces several lines of Macintosh computers divided into two categories, desktops: Mac mini, iMac, iMac Pro, Mac Pro, and notebooks: MacBook, MacBook Air and MacBook Pro. All current Macs ship with macOS. This tag is for any and all questions that relate to the actual hardware. For operating system-related questions, use the [macos] tag.

Mac is short for Macintosh, a brand of desktop and notebook computers created and sold by Apple Inc.. Apple currently produces several lines of Macintosh computers divided into two categories, desktops: Mac mini, iMac, iMac Pro, Mac Pro, and notebooks: MacBook, MacBook Air and MacBook Pro.

All current Macs ship with macOS. You can also install Windows or Linux through virtualization software, using an alternative boot loader, or Apple's provided Boot Camp utility.

This tag is for any and all questions that relate to the actual hardware. For operating system-related questions, use .

5355 questions
427
votes
2 answers

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: I'm using El Capitan, but I had this problem since…
Reyraa
  • 4,488
  • 2
  • 13
  • 15
404
votes
133 answers

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 with -a you can pass the URL, image, document or…
Josh K
  • 1,868
  • 9
  • 25
  • 30
276
votes
3 answers

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.
Vishnu
  • 2,883
  • 2
  • 13
  • 9
243
votes
11 answers

How to use terminal to copy a file to the clipboard?

I got a file on desktop, file name is ded.html. To copy the file, I click the file and press cmd+c. Now how would I do the same thing using terminal ?
angry kiwi
  • 2,715
  • 5
  • 18
  • 19
172
votes
20 answers

How to arrange two windows easily to left and right side?

In Windows 7, we can easily arrange two windows with these shortcuts: Option (Alt) ⌥ + ← maximizes the window to the left side of the screen, and Option (Alt) ⌥ + → maximizes the window to the right side of the screen. I'm using a 27" iMac now, and…
Benjamin
  • 1,823
  • 2
  • 12
  • 7
168
votes
11 answers

Can Touch ID on Mac authenticate sudo in Terminal?

Can Touch ID on Mac authenticate sudo in Terminal?
P A N
  • 8,738
  • 19
  • 69
  • 109
164
votes
10 answers

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 connection for specific applications or processes would…
aneuryzm
  • 5,299
  • 23
  • 66
  • 90
119
votes
9 answers

How can I achieve page-up and page-down in OS X?

I am using MacOSX Snow Leopard. How do I achieve page-up and page-down?
xyz
  • 3,833
  • 9
  • 26
  • 25
117
votes
19 answers

Prevent iTunes from opening when connecting bluetooth headset

Every time I connect my bluetooth headset to my Mac, iTunes decides it's time to launch. Is there a way I can prevent this behavior? I found this thread, but there is no solution: https://discussions.apple.com/thread/2570254?start=0&tstart=0 OS X…
Steve Robbins
  • 1,873
  • 4
  • 15
  • 17
111
votes
1 answer

How do I automate a key press in AppleScript?

Is it possible to automate the key press of a key (such as "a" or "<") in Mozilla Firefox, Google Chrome or Safari (in this order)? I'd like to automate the key press of "a" for example in Mozilla Firefox for 100 times every x seconds. With x being…
Shoe
  • 1,756
  • 6
  • 24
  • 28
109
votes
25 answers

OS X Terminal "must have" utilities

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 didn't find in these some of my favorites tools, which…
Vincent
  • 216
  • 3
  • 12
  • 14
100
votes
7 answers

Isn't Inactive memory a waste of resources?

I'm looking for explanation of memory usage on my machine especially in light of the example in this screenshot below: I understand what is Free and Active means But what are the meanings of Wired and Inactive? Especially inactive, why does it use…
GusDeCooL
  • 2,738
  • 9
  • 27
  • 31
97
votes
13 answers

Application level volume control in OS X?

I recently switched from PC to Mac and one thing I miss is Windows' application-level volume control (i.e. mute Firefox, turn up iTunes, turn down Skype etc). How can I achieve the same on a Mac? Or better yet, I want volume settings based on…
pathikrit
  • 2,023
  • 4
  • 18
  • 21
96
votes
4 answers

how to find out the start time of last sleep

Is there a command to find the date and time at which a Macintosh computer last entered the sleep mode?
newenglander
  • 1,427
  • 1
  • 12
  • 22
87
votes
2 answers

How to open terminal in Mac using keyboard shortcut?

Keyboard shortcut to open terminal in mac OSX ?
Thirumal
  • 979
  • 1
  • 8
  • 8
1
2 3
99 100