How can I execute a terminal command (like grep) from my Objective-C Cocoa application?
grep
There is also good old POSIX system("echo -en '\007'");