#Complete Name Change

23 messages · Page 1 of 1 (latest)

mint aspen
#

I've seen some articles on changing the username which is left side of the "@" symbol, Is there a way to change specifically one of them and also both the sides of "@" Because I've realised it is way to big on my terminal and bothering me to always maximise

fringe bear
#

Run hostname <preferred hostname>.

#

That's for the right hand side.

#

That goes like hostname 0932VT

mint aspen
#

nevermind, i just had to restart

mint aspen
fringe bear
#

No worries, my pleasure.

mint aspen
# fringe bear No worries, my pleasure.

A problem occurred, if I suspended my laptop and then opened again the terminal would again display the old hostname. Its like if my laptop sleeps and I open again

fringe bear
#

Run cat /etc/hostname.

mint aspen
fringe bear
#

Change that file with your preferred text editor of sorts.

mint aspen
fringe bear
#

Change it with sudo perms.

mint aspen
fringe bear
#

What I mean is that use sudo when opening your editor smh 😭

#

Well, you already did...

mint aspen
mint aspen
fringe bear
#

Try sudo hostnamectl set-hostname <preferred hostname>.

mint aspen
fringe bear
#

I edited it, I forgot about the sudo.