#!/bin/bash
#TITLE : DeleteFirstLine
#CREATED : 09/24/2014
#CREATED BY :
#########################################################
while true
do
#Question
echo -e "Press q to quit or y to continue \c"
read ANSWER
if [[ $ANSWER = q ]]
then
exit
fi
case $ANSWER in
"Y")
#Read
NAME=$(head -1 NameFile.txt) #head takes the first lines from a file, and the -n parameter can be used to specify how many lines should be extracted.
#echo -e "\nThe first name is $NAME!!"