View Full Version : Simple Terminal Question

Jul 6, 2009, 02:07 PM
I just discovered "Prowl" for the iphone and also growl notify.

so my question is...is it possible to run a terminal command inside of a command.

for example. growlnotify -m date "+%A, %B %d"

and have it execute the date part before the growlnotify therefore displaying the current date in the growl message.


Jul 6, 2009, 02:11 PM
You should be able to backtick the date command and get it going:
growlnotify -m "`date "+%A, %B %d"` here is the rest of the message"