#!/bin/bash for x in one two three four five do if [ $x = "three" ] then exit fi echo "\$x has a value of: $x" done echo "Here is the end of the portable Bash Shell Script"