A Unix-based operating system developed and sold by Apple Inc. For Mac hardware questions, use [mac].

learn more… | top users | synonyms (4)

49
votes
3answers
19k views

How can I get control+left arrow to go back one word in iTerm2?

I was reading up in the Linux manual and I noticed that it said I could use control+left and control+right to move forward and back words in the terminal while editing. "Pressing Ctrl plus the ...
55
votes
2answers
10k views

Case insensitive tab completion in Bash

Is there any way to make Bash tab complete case insensitively? $ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) Copyright (C) 2007 Free Software Foundation, Inc. I am ...
28
votes
10answers
26k views

Renaming many files in Mac OS X, batch processing

I used to rename file in Linux via a rename command: rename 's/old_pattern/new_pattern/g' *glob Is there something similar in Mac OS X (Snow Leopard)?
35
votes
7answers
51k views

How can I get a script to run every day on Mac OS X?

Cron? Launchd? iCal?? If so, how?
39
votes
10answers
90k views

How do I view my clipboard history on OS X?

I am often copying and pasting various tidbits of information, and then forgetting to save it. I would copy something else and lose what I had in the clipboard before. Is there some sort of built-in ...
30
votes
7answers
40k views

Make Mac OS X mouse acceleration more Windows-like

The mouse acceleration on Mac OS X is driving me nuts. It may work for touchpads but nothing beats the Windows' acceleration curves. Is there a way to modify the behaviour on OS X? I tried getting a ...
30
votes
3answers
46k views

Start Google Chrome on Mac with command line switches

I've read you can start Google Chrome in kiosk mode in Windows by using the argument --kiosk. I know how to do this on Windows, but how can I do this on Mac OS X? And how can I run Google Chrome ...
22
votes
4answers
17k views

Start configured VPN from command line (OSX)

I have two VPN configurations on my mac and I would like to be able to start them from the console when I ssh into my machine. I have found the command networksetup which allows me to configure ...
15
votes
4answers
24k views

How do I run a launchd command as root

I have the following launchctl command as a .plist file. It's loaded and set to run once a day but, it needs to run as root and I'm not sure how to verify this. Also, this cron job basically CDs ...
22
votes
2answers
11k views

How to use command line whois for “spam infected” domains like apple.com?

In short: is there any way to get the full whois-details for domains like apple.com, using the command line on Max OS X? Running whois on the command line for, for example, apple.com is like ...
21
votes
9answers
137k views

How can I change the system font size in OS X?

I'm using a Mac Mini on big flat-screen TV for playing media. The small font size is really annoying when sitting far away. Is there a way to increase the system font size in OS X?
18
votes
7answers
33k views

Is there any way to prevent a Mac from creating dot underscore files?

At work we're letting one of our very tech savvy clients actually help out a little with a few development projects specific to him. However, he uses his own personal Macbook, and as he edits files on ...
14
votes
5answers
9k views

Good program to visualize file system usage on Mac?

Based on this question, I would like to know if there are any good programs to visualize file system usage on OS X? I used to have SpaceMonger when I was using a PC and would love to find some ...
20
votes
3answers
7k views

How can I run Mac OSX graphical Emacs in daemon mode?

Short form: I want to run the Mac OSX version of Emacs found on http://emacsformacosx.com/ as a daemon, with graphical and text clients connecting to it as-needed. In detail, here is the workflow I ...
19
votes
7answers
20k views

Throttle network bandwidth per application in Mac OS X

I notice that iTunes seems to suck up all my bandwidth and doesn’t play nice with other applications that use the web when it's downloading. In fact, it doesn't even give itself enough bandwidth when ...
19
votes
4answers
117k views

How do I uninstall and remove a .kext on Mac OS X?

I bought a X-in-1 media card reader and had to install a driver in order to be able to read SD-HC cards. Now sometimes when I unplug the reader from the USB port I get a kernel panic. So now I'd like ...
27
votes
1answer
15k views

Bash completion for commands in Mac OS X

How do I get fink and macports to autocomplete program names when typing commands, as in Ubuntu's apt-get? For example when I type sudo port install ca and press tab, I want the terminal to ...
18
votes
4answers
81k views

Viewing the full Skype chat history

I have Skype 2.8 on Mac OS X 10.5.8. Under the the chat menu is an option called "Recent Chats". This allows me to see logs of recent chats, but not of older ones. I know the older ones are ...
31
votes
2answers
34k views

Mac OS change command to control key

is there any way to change the use of command key to control, somewhat globally in the system? for example instead of cmd+S, to use ctrl+S, but everywhere in the system
33
votes
8answers
31k views

User friendly way to schedule jobs in Mac OS X

Is there any easy way to schedule repeated jobs in Mac OS X? I know I could use cron, but I'm looking for a more user friendly way to do it, a GUI for schedules, something like this.
22
votes
1answer
16k views

What is the difference between the default groups on Mac OS X?

Two questions: What's the difference between the groups "wheel", "staff", and "admin"? What do they do? specific use case: I'm trying to setup a local CVS repository as stated in the Apple webpage ...
20
votes
2answers
41k views

Change DPI on OSX

How do I change DPI setting on OSX so that everything looks larger? Lowering the resolution makes everything look crappy so it's not an option. Related question: DPI setting on OSX
17
votes
6answers
7k views

How can I get ssh-agent working over ssh and in tmux (on OS X)?

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...
11
votes
5answers
9k views

How do I trim my Time Machine backups and find and exclude frequently-updated large files from bloating it?

Time Machine is nice because it Just Works and it does its magic in the background. But left to itself, it can really swell up due to either large files that you don't really need backed up slipping ...
10
votes
1answer
2k views

How do I make OS X set the terminal title back to the original title when coming back from ssh?

Starting on OS X, I ssh into foo (a Linux box). My terminal title changes to foo. I then ssh into bar (another Linux box). My terminal title changes to bar. I log out of bar. My terminal title ...
9
votes
5answers
26k views

No /mnt/hgfs in Ubuntu guest under VMWare Fusion

I just installed Ubuntu 13.04 inside of VMware Fusion Pro 5. I have the virtual machine configured for read-only sharing of my home directory, but there's no /mnt/hgfs directory and there's no ...
7
votes
2answers
8k views

How do I set up an AppleScript to open a new iTerm2 tab and change the directory?

In OS X, how do I set up an AppleScript to open a new iTerm2 tab change to a directory clear the console echo the current directory I had something like this before for regular Terminal, but I ...
30
votes
9answers
39k views

A synergy alternative that just works? [closed]

I have been using Synergy for a few days now on my Windows 7 desktop (as server) and Macbook (client). Unfortunately, it seems to be buggy - often, the keyboard would stop working on the Mac to the ...
13
votes
4answers
20k views

On Mac OS X how can I monitor what is using my internet connection?

I've got a relatively limited broadband connection (I live miles from the nearest exchange) and from time to time net access (but nothing else) slows to a near crawl. I know from a bit of monitoring ...
11
votes
5answers
8k views

Prevent MacOS from making .* and ._* files

Whenever I plug someone's FAT32 flash drive into my computer, MacOS loves to add all sorts of hidden files. A couple of these include: .Spotlight-V100/ .Trashes/ .fseventsd/ .DS_Store When they ...
10
votes
2answers
7k views

What is the task “java” (parent process “launchd”) doing on MacOS X?

I have a process called "java" showing up in my Activity Monitor that uses a good amount of CPU (4 - 8% average, 20 - 80% on occasion). It reports that "launchd" is its parent process. Any idea what ...
6
votes
4answers
5k views

How do you create a bootable partition on a USB drive?

I have a bootable ISO designed to be burned to a double-layer DVD. I don't have a double layer DVD burner, so I would like to stick the ISO image on a 50 GB partition on a USB hard drive I have. How ...
22
votes
2answers
6k views

How to add custom keyboard shortcut for a nested menu item?

This has been bugging me for a couple years now. So in Mac OS X you can assign your own Keyboard Shortcuts (in System Preferences > Keyboard > Keyboard Shortcuts) by typing in the exact name of the ...
14
votes
10answers
85k views

How do I convert a .vhd disk image to work with VMWare Fusion 2?

I’ve just installed VMWare Fusion 2 on my Mac. Microsoft makes available some Virtual PC disk images containing different versions of IE, so that us humble web developers can test our code on them: ...
8
votes
1answer
2k views

Make OS X Terminal commands I type BOLD

I'd like to make commands I've typed (input) into terminal stand out from all the output. For example: imac:~ buster$ chmod -R g-w myfolder imac:~ buster$ cd myfolder imac:myfolder buster$ ls -l ...
7
votes
3answers
4k views

OS X Terminal Tutorials [closed]

So, I am started to get settled into everyday life with my Mac now and want to be able to utilise the power of the Terminal. Can you provide any good tutorials or sources which will help me learn?
6
votes
7answers
3k views

Is there a way to use the keyboard to move an application to another Space on OS X?

I'm using Spaces on OS X, and I'd like to replicate the Ctrl-Alt-<arrow> functionality (or is it Ctrl-Alt-<arrow> -- I can never remember) in Gnome that causes the currently selected ...
5
votes
3answers
2k views

Migrating Time Machine Volumes

I have two external drives I use for Time Machine backups. On each drive, I have Time Machine backups for multiple computers. My primary computer has a large disk, and the associated external Time ...
9
votes
1answer
1k views

Mac OSX screencast solutions

I need to make some quick and simple demo videos of a web application. These videos will need to be embedded into help pages in the application, but can be externally hosted. As a startup without ...
7
votes
5answers
8k views

Setting environment variables in OS X for GUI applications

How does one set up environment variables in Mac OS X such that they are available for GUI applications without using ~/.MacOSX/environment.plist or Login Hooks (since these are deprecated)?
7
votes
1answer
647 views

bash: per-command history. How does it work?

OK. I have an old G5 running Leopard and a Dell running Ubuntu 10.04 at home and a MacPro also running Leopard at work. I use Terminal.app/bash a lot. On my home G5 it exhibits a nice feature: using ...
6
votes
1answer
3k views

Is there some way to disable the dialogs shown when opening an application for the first time?

If you for example download Skim on a new OS X installation, set Skim as the default application for PDF files, and open a PDF file, a dialog like this is shown: You are opening the application ...
6
votes
7answers
13k views

How to remove the Dock in Mac OS X Leopard

I don't want the dock that is at the bottom of the screen. I don't want to hide it but completely remove it. How can this be done? If not possible, why not?
4
votes
4answers
7k views

How is DNS used by individual processes?

When resolving FQDNs or machine names to IP addresses on my local network (mycompany.internal) I can use dig on the command line (linux/mac) or nslookup (windows) to query the configured server and ...
17
votes
4answers
6k views

Speed up Spaces on Mac OS X?

Is there any way to speed up the animation when you switch from one space to another on Mac OS X? I'd like to make the space-transition quicker, or even instantaneous. Does anybody know of any way ...
14
votes
2answers
15k views

What are the differences between MBR vs GPT vs any other partition scheme?

Can anyone tell me what the main differences between i.e. MBR vs GPT or any other partition scheme are? Why would one choose one over the other? I am not an expert but from new release of Mac OS X ...
14
votes
11answers
23k views

Can't Type Tilde character in Mac OS X

Hi this is a new problem that I did not have a few weeks ago. I have a Logitech Illuminated Keyboard running on Mac OS X 10.6 (Snow Leopard). The problem is that I cannot type a tilde. Instead when ...
14
votes
2answers
34k views

Good OS X Hard Drive Benchmark

What software can provide some insight on the performance of the hard drive in my MacBook Pro? I would be interested in both sequential and random read and write performance. This is in the context ...
12
votes
4answers
7k views

If I have two internet connections on osx, how can I use both to increase my bandwidth?

I understand that any one connection (such as a non-p2p download) will use just one of the connections, but since most normal activity involves multiple connections at once, I can still in theory ...
7
votes
2answers
1k views

How can I track the changes an installer makes?

I'm trying to track the changes of an installer/patcher, is there a way to track changes the installer/patcher makes and where all its files are placed?