I need to create global variable environment
PS1='[\u@\h ttyid:\l \d \t \W]\$ '?
I used command
$ export PS1 $ PS1='[\u@\h ttyid:\l \d \t \W]\$ '
Is that correct?
After that A conservative configuration of the PS1 environment variable is required for subsequent startup of the operating system by creating a suitable configuration file using the text editor.