Display String in Bold,Italic and Underline and Blinking in Linux Shell Scripts
echo "enter Any String:->";
read strvalue
echo "1:Display String In Bold";
echo "2:Display String In UnderLine";
echo "3:Display String In Blinking";
echo "Enter The Choice:->";
read c
if ((c==1))
then
printf "\033[7m $strvalue";
elif ((c==2))
then
printf "\033[4m $strvalue";
elif ((c==3))
then
printf "\033[5m $strvalue";
fi
read strvalue
echo "1:Display String In Bold";
echo "2:Display String In UnderLine";
echo "3:Display String In Blinking";
echo "Enter The Choice:->";
read c
if ((c==1))
then
printf "\033[7m $strvalue";
elif ((c==2))
then
printf "\033[4m $strvalue";
elif ((c==3))
then
printf "\033[5m $strvalue";
fi
Display String in Bold,Italic and Underline and Blinking in Linux Shell Scripts
Reviewed by Unknown
on
07:06
Rating:
No comments: