#!/bin/sh # reset.sh # Local version: 1.0 # Copyright (c) 2008 Peter Kuyarov, All rights reserved # Mon Mar 3 09:41:06 MST 2008 # Resets your terminal titlebar after you accidentally # cat a binary file and get hieroglyphics # # scripts@pknet.net # http://peterk.org/scripts/ # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin export PATH if [ $# -lt 1 ] then echo "Usage:" echo " reset.sh 'new title'" else echo -e "\e]0;$1\a" fi