Search code examples
linuxterminalcustomization

What do I call the thing that signifies a new command line in the Linux terminal and can I customize it?


enter image description here

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?


Solution

  • It's called the "prompt" and it's controlled with the PS1 shell variable.

    References: