Wednesday, August 29, 2012

Pear Linux : Customized Gnome 3 to the max - Mac OS X looks like

Pretty awesome distro (for the interface). If you're using it, feel free to drop comment here.




Link

Monday, August 27, 2012

Cronjob log for Ubuntu

Ubuntu does not provide special log file for cronjobs in /var/log; instead she put it in syslog fail. Here goes:

!█▓▒░root@macbuntu░▒▓██▓▒░ Tue Aug 28
~/ # !tail
tail -f /var/log/syslog|grep -i cron
Aug 28 14:06:01 macbuntu CRON[5561]: (CRON) info (No MTA installed, discarding output)
Aug 28 14:06:02 macbuntu CRON[5560]: (CRON) info (No MTA installed, discarding output)
Aug 28 14:06:45 macbuntu CRON[5558]: (CRON) info (No MTA installed, discarding output)
Aug 28 14:07:01 macbuntu CRON[5604]: (root) CMD (webalizer)
Aug 28 14:07:01 macbuntu CRON[5603]: (root) CMD (cd /root/web/malware;rm -f *.tar.bz2;/bin/tar cjvf `date '+%d%b%y-%H%M%p'`.tar.bz2 `ls|grep -e "[0-9a-f]\{32\}"`)
Aug 28 14:07:01 macbuntu CRON[5606]: (root) CMD (cd /root/web/malware;avgscan `ls|grep -e "[0-9a-f]\{32\}"` > malware-list.txt)
Aug 28 14:07:01 macbuntu CRON[5607]: (root) CMD (/usr/lib/cgi-bin/awstats.pl -config=awstats.conf -update)
Aug 28 14:07:01 macbuntu CRON[5602]: (CRON) info (No MTA installed, discarding output)
Aug 28 14:07:02 macbuntu CRON[5601]: (CRON) info (No MTA installed, discarding output)