#!/bin/bash
# Пример case esac
clear
case $TERM in
     *term)
           echo "May be xterm?!"
           ;;
     unknown|vt[0-9]*)
           echo "May be vt100 ?"
           ;;
     linux)
           echo "This is a LINUX terminal!!!"
           ;;              
     *)
           echo "I don't know this terminal"
esac
exit 0