New answers tagged

0

If you type this into your terminal: echo $PS1 then you will see what's making your prompt do what it's doing. If you want to understand that, you'll have to read the article linked by Jak Gibb above. If you want to set the prompt to green, try typing this in your terminal: PS1="\e[1;33m\\w\$ \e[m \$" Here's what that's doing... \e[ is an escape code......


0

That is your shell prompt and can be customised by modifying the value of the PS1 builtin variable. See this write up from LinuxNix.com. There are handy generators on the web which can help in creating them.



Top 50 recent answers are included