How to change hostname on mac searching

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