How to find hostname on mac terminal searching

Top keyword related from Search Engine of how to find hostname on mac terminal