Archive for August, 2008

Get Ip address

August 8th, 2008 by Daniel Høyer Iversen

If you have a server with a dynamical ip address. You can use this script to get the ip address to your mail box. Maybe you have to change the smtp-server to your ISP’s smtp-server. Run “sudo crontab -e” and add “00  *    *     *     *   ~/scripts/ip” to get an email every hour.

Continue reading ‘Get Ip address’

How to disable caps lock in Linux

August 3rd, 2008 by Daniel Høyer Iversen

If you want to disable the caps lock. Open the ~/.bashrc file and add:

    # Disables the caps lock button
    xmodmap -e "remove lock = Caps_Lock"