#!/bin/bash if [ $# -eq 0 ]; then xsh localhost mc elif [ $# -eq 1 -a "$1" = "su" ]; then xsh localhost mc su else xsh $@ mc fi