Suse Linux Change Hostname (computer name) without yast

last updated in Categories ,

I am a new Suse Enterprise Linux user. I setup my computer name to ‘linux-mig6’ during installation but now I would like to change the computer name to something else. How can I remove old name and set it to ‘suse-linux-server’ on SLES version 12 SP 3? Can you tell me how do I change the Suse computer name? How do I assign a static hostname to server running SuSe Linux?

Ubuntu Linux Change Hostname (computer name)

last updated in Categories , ,

I am a new Ubuntu Linux laptop user. I setup my computer name to ‘tom’ during installation but now I would like to change the computer name to ‘jerry’. Can you tell me how do I I remove tom and set it to jerry on Ubuntu Linux? How do I change the Ubuntu computer name from ‘ubuntu’ to ‘AvlinStar’? Can you tell me more about Ubuntu Linux change hostname command?