title: Retrieve IP address in HP-UX?
body: <p>I am using below to retrieve ip address for my Linux (Centos) host and print to a file:-</p>
  
  <p>ip route get 8.8.8.8 | awk 'NR==1 {print $NF}'</p>
  
  <p>Can anyone confirm how can I do the same in HP-UX?</p>
  
  <p>uname -a on by box shows this:- HP-UX tsth6038 B.11.23 U ia64 1187320084 unlimited-user license</p>