Category Archives: System

Easily read man pages in Firefox

Want your man pages read with proper formatting? Install man2html then open Firefox and do the following: Go to Bookmarks > Organize Bookmarks;Open a bookmark folder then right-click and chose New Bookmark;Name the new bookmark Man;In the Location field paste this line: http://localhost/cgi-bin/man/man2html?query=%s In the Keyword field type man;Click Add. Now all you have to… Read More »

Color man pages in Linux

If you had enough of the default look of your man pages, set less as your default man page reader and insert these lines in your ~/.bashrc file: export LESS_TERMCAP_mb=$’\E[01;31m’export LESS_TERMCAP_md=$’\E[01;37m’export LESS_TERMCAP_me=$’\E[0m’export LESS_TERMCAP_se=$’\E[0m’export LESS_TERMCAP_so=$’\E[01;44;33m’export LESS_TERMCAP_ue=$’\E[0m’export LESS_TERMCAP_us=$’\E[01;32m’

Set e-mail reminders from the Linux command line

You don’t need a fancy e-mail client with calendar capabilities to get a quick reminder. This is especially useful if you’re on a SSH prompt and don’t have a post-it neatby 🙂 echo “mail -s ‘remember the birthday party’ your_email@server.com < /dev/null” | at 15:19 This will send you an e-mail to the address you… Read More »

A history of your Linux reboots

It’s easy to find out when were the last 30+ times you rebooted your Linux PC. Do a last reboot to get a list of exact dates: reboot   system boot  2.6.27-7-generic Tue Nov 25 09:12 – 11:17  (02:04) reboot   system boot  2.6.27-7-generic Mon Nov 24 15:54 – 01:06  (09:11) reboot   system boot  2.6.27-7-generic Mon Nov… Read More »