Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't find a simple tutorial how to change my computer name under which is it visible on the network (Ubuntu 12.04). It's quite simple on Windows 7 but it looks like there's no such an option on Linux.

PS. I mean only NETWORK NAME - I don't want to change domain visible in terminal (eg. Robin@Ubuntu).

share|improve this question

migrated from May 31 '12 at 16:51

This question came from our site for professional and enthusiast programmers.

On Linux the network name which is visible in a Windows network is set in the configuration of the samba package. This normally resides in /etc/samba/smb.conf where you can add a line like "netbios name = mycomputer" just below the line "[global]".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.