This question already has an answer here:
I have recently been in terminal and somehow I lost my Mac name. It's showing a strange IP followed by some numbers. My computer's name is "my-xxx-macbook-pro." When I type
hostname I receive:
I have been working in AWS a lot to try to develop some products.
How do I get back to my computer in terminal?