Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My Macbook's name is 'Suman'enter image description here. But in terminal I have something different. How to solve it ?

share|improve this question
    
The command to display your computer name within a Terminal window is hostname. From your screen copy it is correct. –  daniel Azuelos Jan 1 at 22:04
1  
In the interest of having a good searchable question, let's leave the terminology here intact even though to people familiar with shell and host names, the title here is less precise than we might like. –  bmike Jan 1 at 22:05

1 Answer 1

Unless you've changed it, the default Bash prompt is

computer-name:directory username$

Therefore it's correct.


Suman:~ beautifulmind$

…means your computer is called Suman, you're in your home folder ~ and your account is beautifulmind.

share|improve this answer
    
How to change the account ? –  Suman Jan 1 at 11:04
    
@Suman See this Apple KB article. –  George Garside Jan 1 at 11:10
    
→ Suman: this is a new question and you should avoid questions within comments. No one will be able to find the relevant answer to your new question by digging in every question comments. –  daniel Azuelos Jan 1 at 22:00

Your Answer

 
discard

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

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