The first line of a script specifies what "language" the script is written in (and should be used to execute what follows).
Code:
#!/bin/sh - means Bourne shell
#!/bin/ksh - means Korn shell
#!/bin/bash - means Bourne Again shell
#!/usr/bin/perl - means Perl
Code:
#!/bin/bash
t=100 - sets a variable called t to 100
echo $t - prints the value of variable t
echo $tea - prints the value of variable tea
echo ${t}ea - prints the value of t followed by the literal characters ea
{ and } are used to separate a variable name from other text - otherwise the shell can't distinguish the variable name from the other text.