When I connect with the Terminal on Mac, I see:


How can I change the value of example ?

Is it the hostname ?



No, it is not the hostname but the name of the computer/pc which you have assigned and to change it

1) Go to settings

2) Then go to details (last option)

3) You can see the version of your ubuntu as well as the configuration of your system. There is an option called Device name (which must be set to example) change the 'example' with whatever name you want to choose then close the settings tab and open a terminal to check if the name has been changed successfully.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.