Activity

  • hipo posted an update 10 years, 9 months ago

    If you need to list all interfaces on HP-UX Unix OS, you will be surprised that the usual Linux command:

    ifconfig -a does not work

    So what is the proper way to emulate ifconfig -a on HP UX
    Just use:
    You can either specify interface for which you want to see the binded IP addresses
    # ifconfig lan0
    or see all addresses of all interfaces with:
    # netstat -in.
    To get the most similar output similar to Linux’s ifconfig

    lanscan -p | while read lan
    do
    ifconfig lan${lan}
    done 2>/dev/null

PC Knowledge sharetank

Skip to toolbar