Search
Categories
Ad

Archive for March, 2010

Run mulitple ‘exec’ commands to UNIX ‘find’ command

Tuesday, March 30th, 2010

Problem

You want to apply multiple commands against the results of ‘find’

Solution

Just pass as many exec options as you want :) .

The command below will run ‘id’, ‘echo’ and ‘file’

% find . -type f -exec id {} \; -exec echo ' and ' \; -exec file {} \;

F8-F12 non working on Snow Leopard

Thursday, March 11th, 2010

Problem

Your SnowLeopard sometimes doesn’t respond to F8-F12. You cannot launch Spaces, Expose, and Dashboard via those keyboards.

Solution

I haven’t gone into this problem deeply yet, but the quick solution for this symptom is to type

% killall Dock

on your Terminal.app.