Answer the question
In order to leave comments, you need to log in
What is the default command line prompt in centos 7?
It needs to be set for the user.
Now there is such export PS1="[\[email protected]\h \w]#"
but the folder is displayed as the entire path, but the last folder is needed, like for all users.
prompt string PS1 by default.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question