Question: Write a Bash script that presents the user with a choice of terminal font and background colors. Once selected by the user, the terminal reflects

Write a Bash script that presents the user with a choice of terminal font and background colors. Once selected by the user, the terminal reflects the choices. Test your script. More info here: http://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html

Consider this color setting command syntax: $ echo -e "\e[0;[font(3) or background(4)][color-code]m For example, this command changes your font color to blue: $ echo -e "\e[0;34m This command changes your background color to red: $ echo -e "\e[0;41m This command accomplishes both of the above: $ echo -e "\e[0;34;41m" Here are the color schemes: 0 = Black 1 = Red 2 = Green 3 = Yellow 4 = Blue 5 = Magenta 6 = Cyan 7 = Whit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!