Skip to main content

All Questions

Tagged with
295 votes
5 answers
144k 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 ...
Thierry Lam's user avatar
  • 4,397
91 votes
5 answers
198k views

How do I get the size of a Linux or Mac OS X directory from the command-line? [duplicate]

What command do I use to find the size of all the files (recursively) in a Linux or Mac OS X directory?
Daryl Spitzer's user avatar
11 votes
3 answers
21k views

Tmux key bindings not working

I installed tmux using homebrew on Mac OSX Lion a while back. Suddenly the keybindings have stopped working. For example if I try Ctrl-b then c (Create new window) it just types c in the terminal ...
HighLife's user avatar
  • 545
3 votes
1 answer
6k views

SSH keychain fails to save passphrase when connecting to remote host via SSH as root in macOS

When using SSH to connect between two mac machines as a standard user passwordless connection works ok on both macs. But each time when doing the same as root it asks me to enter the passphrase. I ...
drew1kun's user avatar
  • 2,167
3 votes
1 answer
3k views

Is it dangerous to have /usr/local/bin ahead of /usr/bin in one's PATH?

I was reading a Stack Exchange answer here about a connected topic, and part of the accepted answer said this: never place user-writeable PATH elements ahead of those that can only be modified by ...
user3573051's user avatar
1 vote
5 answers
744 views

Resolution Independence on OSes?

I know this isn't really a question, but has there been any recent advancements or news about Resolution Independence in any of the major OSes? (Windows / Mac / Linux) I'm quite interested in the ...
JFW's user avatar
  • 2,444
1 vote
1 answer
1k views

OsX El Capitan ignoring case sensitive filenames and not making file/directory distinction

Hi I've run in a strange behaviour on a MacBook today: I had a directory named "FOO" (all capitals) on the desktop, then I created a file named "foo" (no extension) in another directory and moved it ...
jack_the_beast's user avatar