#!/bin/bash if [ "$1" = "-e" ]; then shift # Remove the first argument (-e) from the argument list command_args="$*" /sbin/xfce4-terminal -e "$command_args" elif [ -z "$1" ]; then /sbin/xfce4-terminal fi