ops102:bash_scripting_2_-_loops
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| ops102:bash_scripting_2_-_loops [2025/03/11 03:53] – [Number-Guessing Game] chris | ops102:bash_scripting_2_-_loops [2025/03/11 03:54] (current) – [tput Colour Codes] chris | ||
|---|---|---|---|
| Line 104: | Line 104: | ||
| do | do | ||
| tput setaf $C # Set foreground to colour $C | tput setaf $C # Set foreground to colour $C | ||
| - | echo "This is colour | + | echo "Colour |
| done | done | ||
| tput sgr0 # Reset to " | tput sgr0 # Reset to " | ||
ops102/bash_scripting_2_-_loops.1741665198.txt.gz · Last modified: 2025/03/11 03:53 by chris
