I’m getting accustomed to Linux (very new to it) and I was wondering if there is anything I can do to customize the root@kali:-# part (i know this signifies where I am in my computer) but I would like to change the colors and the format it is displayed in!
Could anyone help me out?
Advertisement
Answer
It’s called the “prompt” and it’s controlled with the PS1
shell variable.
References:
- Bash manual
- POSIX sh Shell Variables
- Bash Prompt HOWTO
- ps1 tag on Stack Overflow