From my most recent post: (http://stackoverflow.com/questions/15046851/linux-colorizing-text-in-files)
I can now colorize text, in my terminal window. (using
Now I'm to the point that I'd like to run a Shell Script that will over-write my
/etc/issue whenever I decide to execute my shell script.
Here is my script:
#!/bin/sh # re-write /etc/issue echo "Welcome Back!........whatever message I will put later on" > /etc/issue
So now I'm looking to colorize the text "Welcome Back!"
According to This Site, I need to Escape my color codes by using Ctrl+V+ESC
But how does one do that inside a shell script, with the goal to re-write the
I did copy and paste the author's example (rc.issue) that he gives. Indeed, the
/etc/issue file gets re-written upon boot, but no color. Just plain text shows.
Can anyone enlighten me on this?