For example, in Ubuntu when I start up a terminal, it says:
And in Windows:
Is there a formal way to refer to that text?
It’s called “the prompt.”
In Llinux, you could be more specific and say πthe bash prompt” in the case of the bash shell, or for the KSH shell, The KSH (korn shell) prompt etc…
In Windows you can change the prompt with the PROMPT command.
In Windows, you could be more specific and say “the C prompt”, and the prompt in Windows is most famously
A techie might have frustratingly said to a user on the phone “Do you get the C prompt?” While saying it as C prompt, some write it as The
It is also notable in Linux:
Hopefully this further info is useful to you (or someone else).... You can view/set "the prompt" via the PS1 environment variable.
To see what the current prompt is set to...
To set the current prompt to something else...
To see the many parameters that can be used to customize a prompt...