How to check machine’s alias names and IP address in Unix?