Most Popular

1500 questions
339
votes
17 answers

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 |320 x 428 | | | | | | …
Jonik
  • 6,673
315
votes
8 answers

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

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 me this prompt: Last login: Sun Oct 7 11:02:49…
at01
  • 5,595
315
votes
14 answers

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 iStat widget under the Fans and Temps tabs on the…
matt b
  • 3,398
314
votes
3 answers

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 show them, and that's what defaults write ...…
user83961
299
votes
7 answers

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 it, no change. I tried repairing disk…
mix
  • 3,205
294
votes
30 answers

How to create a text file in a folder

In windows I right click and then there is an option to create a text file. How to do so in mac?
user4951
  • 3,491
  • 4
  • 22
  • 24
287
votes
17 answers

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.)
284
votes
14 answers

Why doesn't .bashrc run automatically?

I put some alias commands in my .bashrc file, so that they might be loaded everytime I open a new Terminal window. Yet this doesn't happen. I have to select run script: in the Terminal>Preferences>"MyDefaultTheme">Shell prefpane and add: source…
romeovs
  • 4,363
281
votes
7 answers

"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 screenshot shows Keychain Access but this happens in…
Arno
  • 2,931
279
votes
4 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,913
272
votes
13 answers

How can I save tabs in iTerm 2 so they restore the next time the app is run?

Can I save tabs on exit in my iTerm 2, so I don't have to open same directories again after restart? Like Chrome does, for example. I couldn't find such option in settings. Maybe "Arrangements" is what I want, but it seems that it requires me to…
valya
  • 4,033
268
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,965
267
votes
7 answers

How to replace Mac OS X utilities with GNU core utilities?

I found there is some differences between the utility command I used on the mac OSX and linux. I want to make my experience united. How could I replace all my mac utilities with GNU utilities?
steveyang
  • 2,835
265
votes
5 answers

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?
wfbarksdale
  • 2,809
265
votes
3 answers

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". What is the "Rootless" feature of El Capitan at a…
Josh
  • 8,646