Hot answers tagged osx
Status Apple has released Bash security fixes for Shellshock and related vulnerabilities as "OS X bash Update 1.0". They can be installed through normal system update for people using OS X Mountain Lion v10.8.5 or OS X Mavericks v10.9.5 (they are included in Security Update 2014-005) and can also be installed manually. Official Apple fixes are also ...
Using your computer logged in as root all the time is like always carrying around all your keys, your passport, $5,000 in cash, that piece of paper with all your passwords written on it and the only photo you have of Flopsy, the adorable rabbit whose death broke your seven-year-old heart. Oh, and a chainsaw. Which is to say, it's mighty convenient from time ...
In any Finder window or Open/Save dialog, you can hit ⌘+⇧+G (just '/' also works in Open/Save) to get a location bar from which you can directly type in the directory to go to. It even supports ~ for home and tab completion. The Open/Save dialog has several other useful shortcuts: ⌘ + R - Reveals the selected item in a new Finder window. ⌘ + I - ...
Dropbox Put your files into your Dropbox on one computer, and they'll be instantly available on any of your other computers that you've installed Dropbox on.
If the password is stored, you can find it using the program Keychain Access. If you open /Applications/Utilities/Keychain Access, it will show you a list of stored entries. If you click the Kind column header, it will sort by kind, go to the section where AirPort network passwords are stored. On Yosemite, you may have to select "Local Items" rather than ...
Terminal Terminal.app opens a UNIX terminal and allows you to access many power-user tools and features, just as you would on a machine running Linux or BSD.
In the terminal, you can pipe the output of any command to pbcopy to copy it to the system clipboard. You can also paste from the system clipboard using pbpaste, and pipe that to another command or write the value directly to a file: Copy a string: echo "ohai im in ur clipboardz" | pbcopy Copy the HTML of StackOverflow.com: curl "http://stackoverflow.com/" ...
┌── ln(1) link, ln -- make links │ ┌── Create a symbolic link. │ │ ┌── the path to the intended symlink │ │ │ can use . or ~ or other relative paths │ │ ┌─────┴────────┐ ln -s /path/to/original /path/to/symlink └───────┬───────┘ └── the path to the original ...
I always find the ⌘+⇧+4+space (you must press space at the end otherwise it doesn't work) command is really useful, and one that a lot of people don't know you can do. Upon pressing space, you get a large camera icon for your cursor, and it allows you to take a screenshot just of the highlighted window. The nice thing is that OS X preserves the ...
I decided to look this up and found that there is an issue. The issue is closed but it is not possible to simply run brew update because you will still get the same error. So here is what you need to do: cd /usr/local/Library git pull origin master In case you have changes in the directory (/usr/local/Library), the git pull will throw an error. In that ...
You can increase or decrease your volume by quarter increments by Pressing: ⌥ + ⇧ + Volume Up/Down The same also works for brightness. Note that this feature was disabled in Mac OS X Lion from 10.7 through 10.7.3. This feature was restored in 10.7.4. For workarounds on how to accomplish this on earlier Lion versions, see this question.
First: the name "rootless" is misleading, since there's still a root account, and you can still access it (the official name, "System Integrity Protection", is more accurate). What it really does is limit the power of the root account, so that even if you become root, you don't have full control over the system. Essentially, the idea is that it's too easy ...
Preview A lot of people (especially newcomers) completely overlook what the humble built-in Preview app can do. Apart from handling PDFs (including printing them in various layouts etc), you can join PDF files together with it (open the sidebar and start dragging pdf files into it, rearrange pages etc). You can crop & resize images, adjust colour ...
You can hold option and click a position in the current line to move your cursor to that position.
pbcopy and pbpaste: # Copy output of command to clipboard grep 'search term' largeFile.txt | pbcopy # Abuse clipboard contents pbpaste | sed 's/ /%20/g' # get rid of the text attributes when you copy formatted text pbpaste|pbcopy
opensnoop is my new favorite utility. It uses DTrace to show you all of the files that are being accessed on your system, you need to execute it with superuser privileges sudo opensnoop You can also watch what a particular process opens by passing in the PID: sudo opensnoop -p PID Or watch a particular file to see who's opening it: sudo opensnoop ...
Proxy icons In a document-based application (like Finder, TextEdit, Preview, Pages…), after a document has been saved, a proxy icon for the document appears in the title bar. It represent the file itself, and can be likewise manipulated: click it for a few seconds and drag to another application to open it, or to the desktop/Finder if you want to ...
In order to maximize the window so that it fills the visible window content, use: ⌥ + Click on green icon In order to maximize the window both in width and height to the current desktop for applications like Google Chrome use: ⌥ + ⇧ + Click on green icon You notice the change of behaviour of the button in the way it changes its content from two the ...
I love the fact that OS X will scroll the window that the mouse is hovering over, even if another application has focus. That way I can scroll an example that I am coding in TextMate without having to lose keyboard control on TM
Holding ⌥ while clicking menu bar icons will give you additional menu items or alternate menus. The alternate volume control menu will let you choose input and output audio devices. Bonus: On older versions of OS X, this gave you the alert volume instead of devices. You can still get the alert volume using ⇧ clicking. For the airport menu, ...
Growl Growl is a well-known 'notification' system for the Mac; many different programs support Growl and will pass notifications to it. You have a surprising degree of control over how the notifications appear, how they group themselves together, how they are dismissed from the screen etc. This can be configured universally or on an app-by-app basis, so ...
⇧+⌃+⏏ puts the display (only the display, not the whole computer) to sleep and will then prompt you for a password if you have enabled Require password [amount of time] after sleep or screen saver begins under System Preferences > Security. If your Mac does not have an ⏏ (eject) key, you can use ⇧+⌃+⌽ (power).
It's not built in but this is the most effective way to get my wife to stop using my laptop to read celebrity news for hours after 4–5 requests to get my Macbook back: echo 'The system is overheating and needs to go to sleep now.' | \ growlnotify -a 'Activity Monitor' 'OVERHEATED'; \ sleep 1; \ say 'Overheated system.' Since it's almost always around 70c ...
If you use: sudo scutil --set HostName name-you-want it will work a bit better. From the scutil(8) man page: --get pref Retrieves the specified preference. The current value will be reported on standard output. Supported preferences include: ComputerName The user-friendly name for the system. LocalHostName The local ...
I just ported MenuMeters for El Capitan, please go to http://member.ipmu.jp/yuji.tachikawa/MenuMetersElCapitan/.
Google Chrome Google Chrome is a lightweight, minimalistic web browser based off the open source project, Chromium.
You can add alias ls='ls -G' to your ~/.bash_profile to get colored ls output.
open -a TextEdit filename should do the trick. The -a flag specifies any application you want, so it's applicable to any number of situations, including ones where TextEdit isn't the default editor. Other relevant options -t opens in the default editor (i.e. if you use BBEdit, TextMate, etc.) -e will open the file specifically in TextEdit
Only top voted, non community-wiki answers of a minimum length are eligible