Help for this page

Select Code to Download


  1. or download this
    Thanks for the help
    
  2. or download this
    I have added small code which will check the condition first, if the l
    +ine contain Link encap and if it found then get the ethernet address 
    +and ip address other wise skip the test.
    
    ...
     # use /inet6? addr: ?([0-9a-f.]+)/ if you want to match IPv6-addresse
    +s
    }
    }
    
  3. or download this
     
    But when I run the script it gives me the below output but not giving 
    +the expected out.
     
    "Yes"