#!/bin/bash ELSO="s*" # minta egyezés if [[ $ELSO == s* ]] then echo "s-el kezdődik" else echo "Nem s-el kezdődik" fi