> I agree with Mr Kletnieks. I was mistaken. The $SHELL > does not give the currently executing shell. It > continues to give the original shell (given in the > /etc/passwd). Don't make it any harder than needed :-p # ls -l /proc/self/exe That will show where the current shell executable file is located, and hence its name. Stian Skjelstad _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list