Skip to main content

Posts

Showing posts from May, 2009

man2pdf Convert unix manpage to PDF

#!/bin/bash ############################################################################# # # # man2pdf # # a simple bash script to convert a man page to pdf # # # # Copyright (C) 2003-2004 Trond Aasan # # # # This program is free software; you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation; either version 2 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it wi

Changing host name

Changing your host name - Redhat Ent 4 & 5 Logged in as root %cd /etc/sysconfig %vi network HOSTNAME=loki When you are done, save your changes and exit vi. Next we will edit the /etc/hosts file and set the new hostname. %vi /etc/hosts Edit/Add the line for your host's IP with new hostname # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.1.70 loki Save and exit. You nee to change two files /etc/hosts and /etc/sysconfig/network to make hostname permanent. now restart network service. %service network restart logout and log back in.

Different inboxes for multiple email accounts

A new and very cool new feature (it’s in my top 5 of best new Outlook 2007 features) in Outlook 2007 is that you can directly assign an account its own dedicated folder set. This dedicated folder set contains the following default folders; * Deleted Items * Inbox * Junk E-mail * Outbox * Sent Items * Search Folders Because the account has now its own folder set, all the emails are automatically stored in the corresponding folders without the need of configuring anything else like for instance rules. So also your Sent Items are automatically separated by using this technique. Setting it up is also very easy; 1. Open your Account Settings via Tools-> Account Settings… 2. Select the account which you want to redirect to its own folder set 3. Press “Change Folder” 4. Press “New Outlook Data File…” 5. Select “Office Outlook Personal Folders File (.pst)” 6. Give the pst-file a name and set the location where you want to store your pst-file. I recommend t