Shell script to display hostname and display in bold

| June 10, 2011 | 0 Comments

Script to display hostname and display result in bold

echo “Hello I am $hostname :”
echo -n “Please enter your name : ”
tput bold
read text
echo -n “Welcome $text “

Tags:

Category: Shell Scripting

Leave a Reply

You must be logged in to post a comment.