what is my host name?

I am trying to set my mac account on my iPhone 6 , how do i find what is my host name?

Posted on Jan 9, 2017 9:18 AM

Reply
2 replies

Jan 9, 2017 6:57 PM in response to Ali La Baba

What app are you using to on your iPhone 6?


There is the hostname command.

hostname


echo $USER


This series of commands returns a lot interesting unix stuff. [ ASC is acting up again. It's inserting blank lines where it shouldn't 😠 ]



( echo "---------- env";



env;



echo "--------- set";



set;



echo "--------- export";



export;



echo "--------- export -f";



export -f;



echo "--------- alias";



alias;



echo "--------- set -o";



set -o;



echo "--------- shopt";



shopt;



echo "--------- enable -a";



enable -a ) | less

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

what is my host name?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.