-2
How can I change my username display on the terminal ? With this very large text, ends up disturbing.
-2
How can I change my username display on the terminal ? With this very large text, ends up disturbing.
-1
What is long in this case is the name of the operating system. Edit the file:
/etc/hostname
and change with the name you want. The change will be made at the next login.
Browser other questions tagged python linux ubuntu terminal
You are not signed in. Login or sign up in order to post.
This question seems to me outside the scope, as it is asking how to change the user name of the operating system.
– user28595
@Articuno I think he does not want to change the name of the terminal, he wants a solution to decrease the name that is appearing before the command (this also disturbs, in my opinion), but I believe that the question is not up to the site. I’ll see if there’s anything on the SOEN to confirm.
– Wallace Maxters
It’s just the display of the name itself
– Rafael Áquila
@Rafaeláquila the question escapes the scope of our site, but you can try this reply
– Wallace Maxters
Answer of another closed question here: https://answall.com/a/30435/28595
– user28595
If the problem is aesthetic, just change the prompt, no need to change the name. See the environment variable
PS1
. You can change the variables to simply not show the station/host name. See variables here: https://bash.cyberciti.biz/guide/Changing_bash_prompt– Bacco