Archive for the ‘shell script’ Category

17 October 2007 @ 17:47Does Installing Leopard Put You At Risk?

I had a chance to play with a developer’s install of Leopard recently. I like some of the new features, but there are others such as Time Machine that I won’t be able to fully review until my copy of Leopard arrives on October 26.

If you read my previous article about malicious files masquerading as completely innocent JPEGs, Excel files, etc., you may have thought to yourself, “I would never fall for that!”, or “I take precautions like browsing the filesystem in Column Mode.” Unfortunately, it turns out that Leopard appears to be taking a step backward in revealing to users the true nature of their files.

Read the rest of this entry »

by Jon | Add a comment | Posted in apple, exploits, mac, malware, security, shell script

12 July 2007 @ 23:33Folding in the “off hours”

I’ve been participating in the Folding@home project for a while now. It gives me a sense of helping out while also providing a sense of competition. While Folding@home pretty much gets out of your way while you do “real” work, it also causes some computers’ fans to run more than normal. This is nothing to be worried about, but the added noise can be bothersome. So, scheduling when to run Folding@home is ideal in this instance.

Read the rest of this entry »

by Jon | Add a comment | Posted in apple, folding@home, mac, shell script, ssh

15 January 2007 @ 14:33Email that log to me

At one point I decided to have the web server email the day’s access_log to me. Instead of emailing the entire log, I grep’ed through the log to only get “today”, piped that to grep again to exclude entries that contained the IP address of the Intermapper server, and then piped that to mail. So, everyday I have the previous day’s log waiting in my inbox.

#! /bin/sh

today=`date +%d/%b/%Y`

/usr/bin/grep "$today" /var/log/httpd/access_log | /usr/bin/grep -v 192.168.1.70 | /usr/bin/mail -s "access_log for $today" me@email.net
exit 0

I save this shell script and schedule it with cron to run ever day right before midnight.

59 23 * * * /bin/sh /Library/Scripts/mail_log.sh

by Jon | 1 comment | Posted in administration, logs, mail, shell script, webserver

the following results provided by Yahoo!

Amazon.com

Online retailer of books, CDs, videos, DVDs, toys and games, electronics, kitchenware, computers, and more.

Help

... and buy at Amazon.com ... items sold and fulfilled by Amazon.com within 30 days of delivery ... account settings and experience on the Amazon.com website.

Amazon.com Auctions

Buy and sell used and collectible items with Amazon.com Auctions. Includes art, collectibles, books, cars, computers, comics, jewelry, movies, music, and games.

Amazon.com Video Games

Online video game shopping from Amazon.com. Features a large selection of video games for the Xbox, Wii, PlayStation 3, PSP, PC, Mac, Nintendo GameCube, Game Boy Advance, PlayStation 2, and others.

Amazon.com Books: New & used books,textbooks,children's books ...

Online shopping for millions of new & used books on thousands of topics ... Hit the books in Amazon.com's Textbook Store and save up to 30% on over 100,000 new ...

Amazon.com - Wikipedia, the free encyclopedia

amazon.com. From Wikipedia, the free encyclopedia. Amazon.com, Inc. Founded. 1994. Slogan "...and you're done" Type of site. e-commerce. Launched. 1995. Amazon.com, ...

Amazon.com Associates Central

United States. United Kingdom. Germany. France. 日本. Canada. United States, United Kingdom, Germany, France, 日本, Canada. Feedback | Select Locale:

Amazon.com MP3 Music Downloads

Download popular music, classical music, new releases and more, in MP3 format. ... Amazon MP3 Download newsletter to find out about free song downloads, new ...

Amazon Honor System

Amazon.com has successfully completed hundreds of millions of online ... Because Amazon.com's servers transmitted the image containing a paybox and your ...

Kindle: Amazon's Wireless Reading Device: Kindle Store

Amazon.com: Kindle: Amazon's Wireless Reading Device: Kindle Store

Sign up for PayPal and start accepting credit card payments instantly.

Get fed!

rss icon subscribe to Geek stuff

rss icon Geek stuff in your inbox

Add the "Geek stuff" Google Gadget to your homepage

Add the "Daily Deals" Google Gadget to your homepage

Featured Tee

UneeTee.com

One Day, One Artist, One cool T-shirt

Overgrown by Jack
Guys - $12
Girls - $12

Apparel

Search Amazon

Search Amazon.com
Search Amazon.co.uk

Advert

Web hosting by ICDSoft