Most Popular

1500 questions
83
votes
7 answers

How can I make 'rm' move files to the trash can?

I use the terminal on a daily basis, I will often use rm DirectoryName. Sometimes I get a little impatient and do rm * without deliberating if it’s safe. As you can imagine, these shenanigans have sometimes come back and hit me in the face. Does…
steve
  • 1,333
83
votes
15 answers

What's a good SSH tunneling client for OS X?

I've been using SSH Tunnel manager to easily set up and stop port tunneling over SSH to various servers at my company. That saved me the pain of opening up a new terminal window which will hang out there just for the sake of having a tunnel…
Boaz
  • 1,073
82
votes
5 answers

how to reinstall xcode command-line tools?

I had serious problems from two versions of Xcode on the same machine. I removed all Xcode app instances & many other non-System 'xcode'-related files, then reinstalled the app (4.6.2), fixing my original problem. But xcodebuild and xcode-select are…
sierra
  • 921
82
votes
15 answers

Disk space not freed up after deleting files and emptying Trash

I had approximately 50Gb of Windows VMs on my MacBook Pro internal SSD (128Gb) (OS X 10.7.3). I copied them to an external drive, then deleted them from the internal drive, then emptied the Trash. When I look at disk usage in Activity Monitor it…
Howard
  • 1,381
82
votes
5 answers

Homebrew permissions & multiple users needing to brew update

I'm using Homebrew to manage package installs on Lion (Lion Server actually but this shouldn't matter). Homebrew was installed under one user. Now a different user would like to add a package and Homebrew isn't happy: $ brew update fatal: Unable to…
Meltemi
  • 1,856
  • 3
  • 22
  • 26
82
votes
7 answers

How can I use Gmail as the default mail client app in Mac OS X?

I use Gmail as my e-mail client, but when I click on a "mailto:" link, the Mail.app is opened. Is there a way to avoid the Mail.app opening in this case? Can I open Gmail instead?
82
votes
10 answers

How to show all running processes on macOS/OS X?

How do I see a list of all running processes/tasks on macOS/OS X?
reaffer
  • 1,021
82
votes
17 answers

How do I turn off MacBook display when I have an external display?

I went through a similar question, but the answer was informing how to hide the monitor, but not how to disable it. I do not want any new windows to creep into the laptop display when the external display is connected. I could not find any in the…
Sairam
  • 5,736
82
votes
6 answers

How to add characters to the press and hold character picker in OS X Lion?

In OS X Lion, there is a very useful feature for people like me who need to write in multiple languages, which pops up a small menu of additional characters when you hold down a letter. For instance, when I hold down the letter E, I get: This is…
houbysoft
  • 9,182
82
votes
4 answers

AutoHotkey Equivalent for OS X?

Is there an equivalent product/method for AutoHotkey. For those that don't know, its a product that allows you to program your mouse movements and keyboard. This allows me to "macro" certain functions on programs instead of having to do it manually.…
Meer Borg
  • 923
82
votes
8 answers

OS X Yosemite Xcode update stuck on 'Waiting'

I recently downloaded Yosemite, and I'm trying to update my Xcode. I hit 'Update' in the App Store, and but it's been stuck at 'Waiting' for the past 30 minutes. What can I do to fix this?
David
  • 963
82
votes
8 answers

Logitech Mouse: how can I use additional buttons?

I recently bought a Logitech M560 mouse. It works fine on my Mac, but I wonder if there's a software/prefpane (free or paid) I can use to map the additional buttons I have on my mouse (i.e. to open dashboard, select line, etc...) Logitech at the…
napolux
  • 1,254
81
votes
2 answers

Where does the upgrade to macOS Catalina and Big Sur move root "/" directory files?

After updating to macOS Catalina, all the folders I had saved in the root directory, "/", were missing. I read that the system is now read-only, but didn't see a notice on where previous files have gone. Are they on the system or do I need to…
plowman
  • 1,253
81
votes
2 answers

macOS: Disable popup showing accented characters when holding down a key

How do I disable the display of popup which appears when holding down a key? It slows my typing speed and makes me do so many mistakes in my writing and programming. I need it at time when I wish to enter an alphabet twice.
MohammadL
  • 913
  • 1
  • 6
  • 6
81
votes
2 answers

How to enable OS X screen sharing (VNC) through SSH?

I forgot to turn on "VNC viewers may control screen with password", to enter on my working Mac, is there way to turn-on this feature remotely via SSH (I'm on WindowsXP now)?