Thursday, March 27, 2008

Ever thought that a linux command can be used as a reminder / organizer!!!!!


• cal -3 Display a calendar
• cal 9 1752 Display a calendar for a particular month year
• date -d fri What date is it this friday. See also day
• date --date='25 Dec' +%A What day does xmas fall on, this year
• date --date '1970-01-01 UTC 2147483647 seconds' Convert number of seconds since the epoch to a date
• TZ=':America/Los_Angeles' date What time is it on West coast of US (use tzselect to find TZ)
echo "mail -s 'get the train' < /dev/null" | at 17:45 Email reminder
• echo "DISPLAY=$DISPLAY xmessage cooker" | at "NOW + 30 minutes" Popup reminder

Interesting commands in linux ..check them out

Useful when u download in linux machines where u have lot of options
wget (multi purpose download tool)

(cd cli && wget -nd -pHEKk Store local browsable version of a page to the current dir
wget -c Continue downloading a partially downloaded file
wget -r -nd -np -l1 -A '*.jpg' Download a set of files to the current directory
wget ftp://remote/file[1-9].iso/ FTP supports globbing directly
wget -q -O- | grep 'a href' | head Process output directly
echo 'wget url' | at 01:00 Download url at 1AM to current dir
wget --limit-rate=20k url Do a low priority download (limit to 20KB/s in this case)
wget -nv --spider --force-html -i bookmarks.html Check links in a file
wget --mirror Efficiently update a local copy of a site (handy from cron)

Monday, March 17, 2008

Want to show help about a feature u design in Eclipse's online help???

U can refer to this link