Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a Bash script that presents the user with a choice of terminal font and ba

ID: 3721734 • Letter: W

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 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

Explanation / Answer

#!/bin/bash for((i=16; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote