Most Popular
1500 questions
310
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,455
- 12
- 33
- 30
304
votes
4 answers
What are the practical differences between Bash and Zsh?
With the news that Catalina will default to Zsh instead of Bash, I'm finding lots of results telling me about the switch, and that it may cause problems with shell scripts, but I'm not familiar enough with Zsh to know what those problems might…
dr.nixon
- 5,228
- 3
- 17
- 24
303
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,278
- 4
- 19
- 16
298
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
288
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,065
- 2
- 14
- 15
280
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,911
- 2
- 10
- 6
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
273
votes
16 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.)
Daryl Spitzer
- 4,449
- 9
- 34
- 47
272
votes
13 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,143
- 8
- 23
- 32
263
votes
28 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,181
- 4
- 19
- 24
263
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,449
- 15
- 40
- 59
260
votes
8 answers
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 backup for Mac 2.
I get this error message when…
Jesper Rønn-Jensen
- 2,772
- 4
- 16
- 11
255
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,715
- 3
- 15
- 6
250
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,659
- 2
- 14
- 8
247
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
- 3,733
- 5
- 18
- 11