Ubuntu / Linux news and application reviews.

Using the following command, you can check your unread messages in Gmail, via a simple terminal:

curl -u username:password --silent "https://mail.google.com/mail/feed/atom" | perl -ne 'print "\t" if /<name>/; print "$2\n" if /<(title|name)>(.*)<\/\1>/;'


For other very useful Linux commands (some also work on Mac OS X), visit THIS and THIS post.

[via commandlinefu]