This is the script. Does anyone know how I can change the color of the text so when I open it in terminal it changes the color?
#!/usr/bin/expect -f
spawn -noecho bash
expect "$ "
send "put what ever you want here"
interact
exit
I tried it but this is what came up in Terminal
'PROMPT_BLUE=`tput setf 1`
PS1='[$PROMPT_BLUE]'
john@john:~$ PROMPT_BLUE=`tput setf 1`
john@john:~$ PS1='[$PROMPT_BLUE]'
[]perl put what ever you want here'
this is what shows up and i don't know why hahaha