#!/bin/bash trap 'echo Control-C trap caught; exit 1' 2 while true do qlogin $@ done