What is the file system of a Mac, how do I know the Mac computer name through command?

what is the file system of mac how to know mac computer name through command

please provide as soon as possible with explanation
Re: what is the file system of mac how to know mac computer name through command

Open Terminal. At the prompt, type hostname and then press the Enter key. The Mac's name will be shown.

Original thread: https://forums.imore.com/threads/what-is-the-file-system-of-a-mac-how-do-i-know-the-mac-computer-name-through-command.341461/