add commands to show hostname and os in osx